We know we can use SWIG to call C/C++ from Python.
But is that possible to pass on several Python callbacks inside those C/C++?
Basically what I want is: Call C++ from Python: pysomeswig.SomeClass(someargs, some_callback)
where some_callback is a Python routine, and SomeClass can call some_callback one or multiple times in its execution.
Is there a way to achieve this kind of things? Thanks..