generator: cpp2ffi rule out template typename (ex. T) so avoid correction in generator.lua

This commit is contained in:
Victor Bombi
2020-09-04 15:44:40 +02:00
parent f635eb28c5
commit 670965cbe5
2 changed files with 16 additions and 4 deletions

View File

@@ -227,7 +227,6 @@ local function cimgui_generation(parser)
local hstrfile = read_data"./cimgui_template.h"
local outpre,outpost = parser.structs_and_enums[1],parser.structs_and_enums[2]
parser.templates.ImVector.T = nil
cpp2ffi.prtable(parser.templates)
cpp2ffi.prtable(parser.typenames)