On Wed, Oct 29, 2008 at 3:55 PM, David Abrahams <[EMAIL PROTECTED]> wrote:
> The above should be a complete guide.  Any questions?

Just two.

1) Should it be object(handle<>(borrowed(ptr))) or
object(borrowed(ptr)) ? Both seem to compile.

2) Can I repost that to a boost::python wiki, givng you credit of
course. Hopefully it will prevent others from having as many issues
with this.


Thanks for taking the time to explain handle in depth. I fixed my code
accordingly and all ref-counting issues went away.

-Dan
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to