On 10/10/2010 02:16 PM, Marek Denis wrote:
I did some tests to check it out (you can check the code at [1] )
and noticed, that when I launch the
+v
boost::python::call_method(callback,"addToQueue",c);
-v
piece of code, the object is copied after using self.queue.get() in the
python script. This
On 10.10.2010 20:15, Jim Bosch wrote:
Actually, you want something like this:
register_ptr_to_python< boost::shared_ptr >();
If you want to use raw pointers, I don't think you need
register_ptr_to_python (see below).
You are right.
I'm actually kind of surprised about this - in other circ
On 10/10/2010 03:58 AM, Marek Denis wrote:
On 10.10.2010 03:47, Jim Bosch wrote:
Pretty much everything you need should automatically work, whether you
use shared_ptr or raw pointers with call policies. If you've invoked
register_ptr_to_python on all the classes you're using,
That's what I co
On 10.10.2010 03:47, Jim Bosch wrote:
Pretty much everything you need should automatically work, whether you
use shared_ptr or raw pointers with call policies. If you've invoked
register_ptr_to_python on all the classes you're using,
That's what I couldn't get while reading Boost tutorial (the