Registering a python function in C
fernandofariajunior at gmail.com
Thu Aug 30 23:21:14 CEST 2007
Could someone post an example on how to register a python function as
a callback in a C function? It expects a pointer to PyObject... how do
I expose that? Basically, the signature of the function is
foo(PyObject* obj), where obj is the callback function... It's not
exactly extending or embedding, I've looked at those examples but they
don't really show how to do this...
Thanks for the help!
More information about the Python-list