correct ImVector typedefs

This commit is contained in:
sonoro1234
2018-10-18 20:20:23 +02:00
parent 1789ec81fe
commit f4df31de6e
3 changed files with 38 additions and 74 deletions

View File

@@ -1003,8 +1003,8 @@ local function generate_templates(code,templates,typedefs)
local te = k:gsub("%s","_")
te = te:gsub("%*","Ptr")
--table.insert(code,"typedef struct ImVector_"..te.." {int Size;int Capacity;"..k.."* Data;} ImVector_"..te..";\n")
table.insert(code,"struct ImVector_"..te.." {int Size;int Capacity;"..k.."* Data;} ImVector_"..te..";\n")
table.insert(typedefs,"typedef struct ImVector_"..te.." ImVector_"..te..";\n")
table.insert(code,"typedef struct ImVector_"..te.." {int Size;int Capacity;"..k.."* Data;} ImVector_"..te..";\n")
--table.insert(typedefs,"typedef struct ImVector_"..te.." ImVector_"..te..";\n")
end
end