Skip to content

Commit

Permalink
SWIG: fix compilation with swig 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Nov 25, 2024
1 parent e31c7e7 commit 05286bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Components/Overlay/include/ImGui.i
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

2 comments on commit 05286bd

@Arthurfernades
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, I built this new version, and every time I tried to run Ogre with SWIG bindings in C#, it threw an error in the LibOgre DLL. I changed this line to the old one, and it stopped. 🙁

@paroj
Copy link
Member Author

@paroj paroj commented on 05286bd Dec 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you probably need to do a clean rebuild of ogre. This line is effectively commented out in the C# bindings.

Please sign in to comment.