[C++-sig] Extracting and returning a c++ object from python and garbage collection
William Ladwig
wladwig at wdtinc.com
Wed Aug 20 22:32:43 CEST 2008
Woohoo! It worked. It turns out that I also forgot to hold the ReqInput in an auto_ptr in the ReqInput "class_" wrapper definition (along with extracting the auto_ptr object by value in the virtual function wrapper). All of this is being done correctly by your Py++ code, so I think your Py++ change is ready for use. Thanks for your help!
More information about the Cplusplus-sig
mailing list