Skip to content Skip to sidebar Skip to footer

Calling A Python Function In C++ With Swig

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:


Post a Comment for "Calling A Python Function In C++ With Swig"