On Fri, Dec 12, 2008 at 9:48 AM, Renato Araujo <rena...@gmail.com> wrote:
> Hi guys,
>
> I'm creating a 2 new call_policy to my functions where I need take and
> give back the ownership of my object. I would like reproduce this in
> my precall or postcall function policy functions.
>
> http://www.boost.org/doc/libs/1_36_0/libs/python/doc/v2/faq.html#ownership
>
> How I can do this? How I can get a ref to  auto_ptr or shared_ptr from
> my PyObject?

Good question!

>
>
> Thanks
> --
> Renato Araujo Oliveira Filho
> _______________________________________________
> Cplusplus-sig mailing list
> Cplusplus-sig@python.org
> http://mail.python.org/mailman/listinfo/cplusplus-sig
>
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to