[C++-sig] instantiating python::object wrapping C++ objects
Stefan Seefeld
stefan.seefeld at orthosoft.ca
Fri Mar 12 15:38:35 CET 2004
hi there,
I want to write a function that wraps C++ object references
into python::object instances. The corresponding python::class_
is defined in a different module, but I don't know what the inverse
of python::extract<> is, i.e. how I can write a function
python::object do_wrap(MyType *v);
All the needed functionality seems to be there, so it appears
I'm missing something obvious here, but what ?
Thanks for your help,
Stefan
More information about the Cplusplus-sig
mailing list