Calling A Python Function In C++ With Swig September 21, 2023 Post a Comment Here is my c++ code: void callMethod(void (*someMethod)()) { (*someMethod)(); } My Swig .i file is: %module test %{ #define SWIG_FILE_WITH_INIT extern void callMethod(void (* Solution 1: Pointers to functions and callbacks Share Post a Comment for "Calling A Python Function In C++ With Swig"
Post a Comment for "Calling A Python Function In C++ With Swig"