Re: [C++-sig] shared_ptr and register_ptr_to_python

2010-10-11 Thread Jim Bosch
On 10/11/2010 10:49 AM, Marek Denis wrote: On 11.10.2010 00:42, Jim Bosch wrote: Essentially, what you need to do is pass a Python object to call_method (boost::python::object or PyObject *) that already contains your C++ object. In order to get one, you need need to tell Boost.Python to constr

Re: [C++-sig] shared_ptr and register_ptr_to_python

2010-10-11 Thread Marek Denis
On 11.10.2010 00:42, Jim Bosch wrote: Essentially, what you need to do is pass a Python object to call_method (boost::python::object or PyObject *) that already contains your C++ object. In order to get one, you need need to tell Boost.Python to construct A and B with what it calls a "back refer