[C++-sig] Getting the wrapped C++ instance from a boost::python::object

Murray Cumming murrayc at murrayc.com
Sat Feb 6 14:39:54 CET 2010


If I have a boost::python::object that I know contains a PyObject that
wraps an instance of my C++ class, MyClass, can I get a pointer to that
MyClass instance, so I can call its C++ methods?

-- 
murrayc at murrayc.com
www.murrayc.com
www.openismus.com



More information about the Cplusplus-sig mailing list