aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-10-03 02:30:00 +0000
committerbloodstalker <thabogre@gmail.com>2018-10-03 02:30:00 +0000
commit110555a1b3faf56a2b14b7162610daf546b98e75 (patch)
tree5d2a2270828c1b036ba0d4a20b859c3a5330ca32
parentadded the md and lua autogen files back in (diff)
downloadluatablegen-110555a1b3faf56a2b14b7162610daf546b98e75.tar.gz
luatablegen-110555a1b3faf56a2b14b7162610daf546b98e75.zip
fix
Diffstat (limited to '')
-rwxr-xr-xluatablegen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/luatablegen.py b/luatablegen.py
index d172939..559a8c5 100755
--- a/luatablegen.py
+++ b/luatablegen.py
@@ -71,6 +71,7 @@ TABLE_REGISTER = ['int XXX_register(lua_State* __ls) {\n',
'lua_newtable(__ls);\n',
'luaL_setfuncs(__ls, XXX_methods, 0);\n',
'luaL_newmetatable(__ls, "XXX");\n',
+ 'luaL_setfuncs(__ls, XXX_methods, 0);\n',
'luaL_setfuncs(__ls, XXX_meta, 0);\n',
'lua_pushliteral(__ls, "__index");\n',
'lua_pushvalue(__ls, -3);\n',