Skip to content

Commit 48ca007

Browse files
committed
Call luawt_setEnumsTables() from luaopen()
1 parent 47c8835 commit 48ca007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/luawt/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ int luaopen_luawt(lua_State* L)
109109
#endif
110110
{
111111
luaL_newmetatable(L, "luawt"); // module luawt
112-
luawt_setEnumsTable(L);
112+
luawt_setEnumsTables(L);
113113
for (const luawt_Reg* reg = luawt_modules; reg->name; ++reg) {
114114
int stack_size1 = lua_gettop(L);
115115
reg->func(L); // must not change stack

0 commit comments

Comments
 (0)