[C++-sig] Wrap a c++ function that returns boost::shared_ptr<> type?
lin yun
yunlin07 at gmail.com
Thu Dec 18 01:59:43 CET 2008
Hi, folks:
I am trying to wrap a c++ function that returns a boost::shared_ptr<some
class> type using boost.python, is that possible?
BTW, I used the call policy return_range included in Py++ for returning a
pointer to a vector. It worked ! My question is that which side is
responsible for releasing the memory of the vector, python side or C++ side?
Thank you for your help very much!
Yun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20081217/7025433f/attachment.htm>
More information about the Cplusplus-sig
mailing list