diff options
author | bloodstalker <thabogre@gmail.com> | 2019-01-20 12:27:14 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2019-01-20 12:27:14 +0000 |
commit | 29635ce7e1f3fa2e8aeb1c6b3938ab10786cad07 (patch) | |
tree | c889f1b4c2e9917eddf0ab91153526715f4e9cdc /main.py | |
parent | update (diff) | |
download | faultreiber-29635ce7e1f3fa2e8aeb1c6b3938ab10786cad07.tar.gz faultreiber-29635ce7e1f3fa2e8aeb1c6b3938ab10786cad07.zip |
update
Diffstat (limited to '')
-rwxr-xr-x | main.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -286,7 +286,7 @@ class CodeGen(object): if self.argparser.args.luaalloc: read_source.write('#include "'+self.argparser.args.luaheaders+'/lua.h"\n') read_source.write('#include "'+self.argparser.args.luaheaders+'/lualib.h"\n') - read_source.write('#include "'+self.argparser.args.luaheaders+'/luaxlib.h"\n') + read_source.write('#include "'+self.argparser.args.luaheaders+'/lauxlib.h"\n') read_source.write('#include "./read.h"\n') read_source.write('#include "./structs.h"\n\n') if self.argparser.args.calloc: read_source.write(text.ft_calloc_def) @@ -557,7 +557,7 @@ class CodeGen(object): if self.argparser.args.luaalloc: read_source_header.write('#include "'+self.argparser.args.luaheaders+'/lua.h"\n') read_source_header.write('#include "'+self.argparser.args.luaheaders+'/lualib.h"\n') - read_source_header.write('#include "'+self.argparser.args.luaheaders+'/luaxlib.h"\n') + read_source_header.write('#include "'+self.argparser.args.luaheaders+'/lauxlib.h"\n') for elem in self.def_elems + self.read_elems: read_source_header.write(static + inline + text.c_read_elem_sig_h.replace("YYY", elem.attrib["name"]).replace("XXX", elem.attrib["name"]).replace("ZZZ", read_sig_zzz)) if "countversion" in elem.attrib: @@ -575,7 +575,7 @@ class CodeGen(object): if self.argparser.args.luaalloc: void_source.write('#include "'+self.argparser.args.luaheaders+'/lua.h"\n') void_source.write('#include "'+self.argparser.args.luaheaders+'/lualib.h"\n') - void_source.write('#include "'+self.argparser.args.luaheaders+'/luaxlib.h"\n') + void_source.write('#include "'+self.argparser.args.luaheaders+'/lauxlib.h"\n') void_source.write('#include "./structs.h"\n') void_source.write('#include "./read.h"\n') void_source.write("#include <stdlib.h>\n") @@ -591,7 +591,7 @@ class CodeGen(object): if self.argparser.args.luaalloc: void_source_h.write('#include "'+self.argparser.args.luaheaders+'/lua.h"\n') void_source_h.write('#include "'+self.argparser.args.luaheaders+'/lualib.h"\n') - void_source_h.write('#include "'+self.argparser.args.luaheaders+'/luaxlib.h"\n') + void_source_h.write('#include "'+self.argparser.args.luaheaders+'/lauxlib.h"\n') # generating the extern declarations and definitions void_source_h.write("typedef struct {\n") for elem in self.read_elems: |