cpp2ffi: take care of CIMGUI_VARGS0

This commit is contained in:
sonoro1234
2025-11-14 09:42:56 +01:00
parent c44d649bf5
commit 363fb5869d
2 changed files with 2 additions and 2 deletions

View File

@@ -2944,7 +2944,7 @@ local function ImGui_f_implementation(def)
table.insert(outtab, "#ifdef CIMGUI_VARGS0\n")
table.insert(outtab, "CIMGUI_API".." "..def.ret.." "..def.ov_cimguiname.."0"..paramListWithoutDots(def.args).."\n")
table.insert(outtab, "{\n")
table.insert(outtab, " return "..def.ov_cimguiname..paramListWithoutDots(def.call_args)..";\n")
table.insert(outtab, " return "..def.ov_cimguiname..paramListWithoutDots(def.call_args_old)..";\n")
table.insert(outtab, "}\n")
table.insert(outtab, "#endif\n")
elseif def.nonUDT then