From 18e58917107b41b5fe09cb3a3e12ffbe87f3bff8 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Sun, 8 Jan 2023 14:38:06 +0100 Subject: [PATCH] generator.lua add table cimgui_skipped --- generator/generator.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/generator/generator.lua b/generator/generator.lua index aef5100..4af3489 100644 --- a/generator/generator.lua +++ b/generator/generator.lua @@ -75,6 +75,9 @@ local cimgui_manuals = { --igColorConvertRGBtoHSV = true, --igColorConvertHSVtoRGB = true } +local cimgui_skipped = { + --igShowDemoWindow = true +} -------------------------------------------------------------------------- --this table is a dictionary to force a naming of function overloading (instead of algorythmic generated) --first level is cimguiname without postfix, second level is the signature of the function, value is the @@ -304,6 +307,7 @@ local function parseImGuiHeader(header,names) end parser.cname_overloads = cimgui_overloads parser.manuals = cimgui_manuals + parser.skipped = cimgui_skipped parser.UDTs = {"ImVec2","ImVec4","ImColor","ImRect"} --parser.gen_template_typedef = gen_template_typedef --use auto parser.COMMENTS_GENERATION = COMMENTS_GENERATION