From 05286bd53ad8c7ee745cf9542482ba950b03f4ac Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Mon, 25 Nov 2024 15:25:05 +0100 Subject: [PATCH] SWIG: fix compilation with swig 4.3.0 --- Components/Overlay/include/ImGui.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Components/Overlay/include/ImGui.i b/Components/Overlay/include/ImGui.i index 046e2a9fc71..d6d90e30f62 100644 --- a/Components/Overlay/include/ImGui.i +++ b/Components/Overlay/include/ImGui.i @@ -49,7 +49,7 @@ #ifdef SWIGPYTHON // match the signature of the by value variants %typemap(argout) float[4], float[3], float[2] { - $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj($1, $descriptor(ImVec4*), 0)); + $result = SWIG_AppendOutput($result, SWIG_NewPointerObj($1, $descriptor(ImVec4*), 0)); } // for PlotHistogram, PlotLines