Skip to content

Remove function pointer calls from Python wrappers

David Gobbi requested to merge dgobbi/vtk:python-function-pointer into master

There were two places where the wrappers directly called Python functions via function pointers. This resulted in undefined behavior warning from UBSan. Now the function pointers are wrapped in PyCFunction objects and called indirectly.

Merge request reports