Providing a Python wrapper to a C++ type.

aaron.l.france at gmail.com aaron.l.france at gmail.com
Tue Oct 16 04:11:52 EDT 2012


Hi,

I have a C++ module where I have a defined, working type. How would I make a wrapper for this type to be able to be used in Python? I am familiar(-ish) with the C-API for functions but I can't see concretely how one would include an interface to a type.

Is it this? http://docs.python.org/release/2.7.3/extending/newtypes.html

Regards,
Aaron



More information about the Python-list mailing list