boost help: C++ object from PyObject pointer

Mark Higgins mghiggins2003 at hotmail.com
Sun Feb 23 16:23:51 EST 2003


I'm just getting started with boost & python, so please excuse my 
ignorance... :)

I've built a python extension from a C++ class using boost - it all
seems to work fine.

However, now another C++ function is receiving a pointer to a PyObject
that represents an instance of this "boosted" python class. How do I
pick off a pointer to the underlying C++ object from the PyObject
pointer?





More information about the Python-list mailing list