aboutsummaryrefslogtreecommitdiffstats
path: root/luatablegen.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xluatablegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/luatablegen.py b/luatablegen.py
index f39db21..ae75733 100755
--- a/luatablegen.py
+++ b/luatablegen.py
@@ -562,7 +562,7 @@ class TbgParser(object):
if ref_type_node != None:
c_source.write("push_" + ref_type_node.attrib["name"] + "(__ls, _st->" + child.attrib["name"] + ");\n")
else:
- c_source.write("push_lightuserdata(__ls, _st->" + child.attrib["name"] + ");\n")
+ c_source.write("lua_pushlightuserdata(__ls, _st->" + child.attrib["name"] + ");\n")
# FIXME
else: pass
else: