Skip to content

Commit

Permalink
fixed Spans Reg names (start, end) of vars_get :
Browse files Browse the repository at this point in the history
start -> _start
end -> _end
  • Loading branch information
shewer authored Sep 20, 2024
1 parent fa6563c commit f0d9398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2023,8 +2023,8 @@ namespace SpansReg {
};

static const luaL_Reg vars_get[] = {
{ "start", WRAPMEM(T, start) },
{ "end", WRAPMEM(T, end) },
{ "_start", WRAPMEM(T, start) },
{ "_end", WRAPMEM(T, end) },
{ "count", WRAP(count) },
{ NULL, NULL },
};
Expand Down

0 comments on commit f0d9398

Please sign in to comment.