aboutsummaryrefslogtreecommitdiffstats
path: root/luatablegen.py
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-09-20 13:18:03 +0000
committerbloodstalker <thabogre@gmail.com>2018-09-20 13:18:03 +0000
commit5ec0d2b4a2e85d56e8ba05ecb7a0a3925974f2e8 (patch)
tree7b86c845c25ff0277a876421118cbd5569ce3e89 /luatablegen.py
parentupdate (diff)
downloadluatablegen-5ec0d2b4a2e85d56e8ba05ecb7a0a3925974f2e8.tar.gz
luatablegen-5ec0d2b4a2e85d56e8ba05ecb7a0a3925974f2e8.zip
update
Diffstat (limited to '')
-rwxr-xr-xluatablegen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/luatablegen.py b/luatablegen.py
index 84312be..ee2d4d0 100755
--- a/luatablegen.py
+++ b/luatablegen.py
@@ -608,6 +608,7 @@ class TbgParser(object):
rev_counter += 1
c_source.write(dummy)
dummy = str()
+ c_source.write("lua_pop(__ls,"+repr(len(field_types))+");\n")
c_source.write(NEW[2].replace("XXX", struct_name))
for field_name in field_names:
c_source.write("\tdummy->" + field_name + " = " + field_name + ";\n")