get template typenames generated

This commit is contained in:
sonoro1234
2019-02-12 19:40:00 +01:00
parent 490effa341
commit 23f2a1f026
13 changed files with 3049 additions and 1206 deletions

View File

@@ -450,6 +450,7 @@ cpp2ffi.prtable(parser.typenames)
local outpre,outpost = parser:gen_structs_and_enums()
--parser.templates get completely defined here
--cpp2ffi.prtable(parser.templates)
local outtab = {}
generate_templates(outtab,parser.templates)
local cstructsstr = outpre..table.concat(outtab,"")..outpost