diff options
author | bloodstalker <thabogre@gmail.com> | 2018-12-14 23:39:40 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-12-14 23:39:40 +0000 |
commit | 1efc38fcf941a57a43017fd51f0165ae32aa7381 (patch) | |
tree | faa96e2ce9acb9af347b852ce1a5f642b23222db | |
parent | update (diff) | |
download | luatablegen-1efc38fcf941a57a43017fd51f0165ae32aa7381.tar.gz luatablegen-1efc38fcf941a57a43017fd51f0165ae32aa7381.zip |
update
-rwxr-xr-x | luatablegen.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/luatablegen.py b/luatablegen.py index a70b329..421f22e 100755 --- a/luatablegen.py +++ b/luatablegen.py @@ -843,7 +843,6 @@ class TbgParser(object): else: #for simple types real_type_string = lua_type_resolver(con_child.attrib["type"]) dummy += "dummy->" +field_name+ "=calloc(sizeof(" +simple_type_resovler(con_child.attrib["type"])+ "),1);\n" - print(real_type_string) lua_push_func_str = get_lua_pop_func(real_type_string) dummy += "dummy->" + field_name + "="+ lua_push_func_str.replace("XXX", "-1")+";}\n" dummy += "lua_pop(__ls, 1);\n" |