From bb3bff376bcda51414f61db4119f502e50d581fc Mon Sep 17 00:00:00 2001 From: Ben Carter Date: Fri, 27 Sep 2024 20:29:42 +0900 Subject: [PATCH] Remove ErrorLogCallbackToDebugLog() from imgui_internal.h as there isn't a ErrorLogCallbackToDebugLogV() version for the bindings to call right now --- dear_bindings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dear_bindings.py b/dear_bindings.py index f00f4bd..32c3351 100644 --- a/dear_bindings.py +++ b/dear_bindings.py @@ -171,6 +171,8 @@ def convert_header( mod_remove_functions.apply(dom_root, ["ImQsort"]) # FIXME: Remove incorrectly parsed constructor due to "explicit" keyword. mod_remove_functions.apply(dom_root, ["ImVec2ih::ImVec2ih"]) + # Remove ErrorLogCallbackToDebugLog() from imgui_internal.h as there isn't a ErrorLogCallbackToDebugLogV() version for the bindings to call right now + mod_remove_functions.apply(dom_root, ["ImGui::ErrorLogCallbackToDebugLog"]) # Remove some templated functions from imgui_internal.h that we don't want and cause trouble mod_remove_functions.apply(dom_root, ["ImGui::ScaleRatioFromValueT", "ImGui::ScaleValueFromRatioT",