
4 Dec
2011
4 Dec
'11
9:11 a.m.
On 12/3/2011 1:13 PM, Johan Råde wrote:
On 8/8/2011 6:21 AM, Ravi wrote:
On Friday, July 29, 2011 05:48:32 AM Johan Råde wrote: ...
Am I using api::object incorrectly, or should I not use api::object at all but do something completely different?
As far as I can tell, the above should work. Could you please file a ticket on trac?
Ravi
Now I have finally done that: https://svn.boost.org/trac/boost/ticket/6203
--Johan
It turned out not to be a bug. The python::object constructor does not take a raw pointer, you must give it a shared pointer. See https://svn.boost.org/trac/boost/ticket/6203