mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-29 10:40:19 +01:00
constructors missed semicolon
This commit is contained in:
@@ -2498,7 +2498,7 @@ local function func_header_generate_funcs(FP)
|
|||||||
assert(def.stname ~= "","constructor without struct")
|
assert(def.stname ~= "","constructor without struct")
|
||||||
table.insert(outtab,"CIMGUI_API "..def.stname.."* "..def.ov_cimguiname ..(empty and "(void)" or def.args)..";"..addcoment.."\n")
|
table.insert(outtab,"CIMGUI_API "..def.stname.."* "..def.ov_cimguiname ..(empty and "(void)" or def.args)..";"..addcoment.."\n")
|
||||||
if FP.CONSTRUCTORS_GENERATION then
|
if FP.CONSTRUCTORS_GENERATION then
|
||||||
table.insert(outtab,"CIMGUI_API void "..def.ov_cimguiname.."_Construct("..def.stname.."* self"..(empty and "" or ","..def.args:sub(2,-2))..")\n")
|
table.insert(outtab,"CIMGUI_API void "..def.ov_cimguiname.."_Construct("..def.stname.."* self"..(empty and "" or ","..def.args:sub(2,-2))..");\n")
|
||||||
end
|
end
|
||||||
elseif def.destructor then
|
elseif def.destructor then
|
||||||
table.insert(outtab,"CIMGUI_API void "..def.ov_cimguiname..def.args..";"..addcoment.."\n")
|
table.insert(outtab,"CIMGUI_API void "..def.ov_cimguiname..def.args..";"..addcoment.."\n")
|
||||||
|
Reference in New Issue
Block a user