[C++-sig] Re: Re: creating an instance of a class_<> object in c++ an d exporting it to python

Mike Rovner mike at nospam.com
Sat Aug 14 01:14:56 CEST 2004

Francois Ostiguy wrote:
> Here is what I tried (in slightly simplified form):
> object PythonInstanceOfA  = PythonTypeA(  py_get_existing() );

object PythonInstanceOfA  = py_get_existing();

py_get_existing is already a factory function returning (python) instance of


More information about the Cplusplus-sig mailing list