Skip to content

Commit 77b0968

Browse files
authored
fixed Spans Reg names (start, end) of vars_get : (#366)
start -> _start end -> _end
1 parent 17b33b6 commit 77b0968

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -2048,8 +2048,8 @@ namespace SpansReg {
20482048
};
20492049

20502050
static const luaL_Reg vars_get[] = {
2051-
{ "start", WRAPMEM(T, start) },
2052-
{ "end", WRAPMEM(T, end) },
2051+
{ "_start", WRAPMEM(T, start) },
2052+
{ "_end", WRAPMEM(T, end) },
20532053
{ "count", WRAP(count) },
20542054
{ NULL, NULL },
20552055
};

0 commit comments

Comments
 (0)