Re: [C++-sig] Ownership of a C++ object extended in Python using wrapper

2010-03-16 Thread Jim Bosch
On Tue, 2010-03-16 at 20:56 +0100, Alexandre Hamez wrote: > On 16 mars 2010, at 13:12, Neal Becker wrote: > > > Alexandre Hamez wrote: > > > >> Hi all, > >> > >> I have a C++ library that needs to store in a hash map user's code, that > >> is, Python-extended objects. To make the C++ interface a

Re: [C++-sig] Ownership of a C++ object extended in Python using wrapper

2010-03-16 Thread Alexandre Hamez
On 16 mars 2010, at 13:12, Neal Becker wrote: > Alexandre Hamez wrote: > >> Hi all, >> >> I have a C++ library that needs to store in a hash map user's code, that >> is, Python-extended objects. To make the C++ interface available to >> Python, I use boost::python::wrapper, as stated in the tut

Re: [C++-sig] Ownership of a C++ object extended in Python using wrapper

2010-03-16 Thread Neal Becker
Alexandre Hamez wrote: > Hi all, > > I have a C++ library that needs to store in a hash map user's code, that > is, Python-extended objects. To make the C++ interface available to > Python, I use boost::python::wrapper, as stated in the tutorial > (http://www.boost.org/doc/libs/1_42_0/libs/pytho

[C++-sig] Ownership of a C++ object extended in Python using wrapper

2010-03-16 Thread Alexandre Hamez
Hi all, I have a C++ library that needs to store in a hash map user's code, that is, Python-extended objects. To make the C++ interface available to Python, I use boost::python::wrapper, as stated in the tutorial (http://www.boost.org/doc/libs/1_42_0/libs/python/doc/tutorial/doc/html/py