Re: [C++-sig] building 32 Bit and 64 Bit extensions on the same machine

2012-08-30 Thread Lars Viklund
On Mon, Aug 27, 2012 at 04:23:14PM +0200, Ronny Herzog wrote: > Thank you, > > but this does not seem to work. If I do this with > "bjam --address-model=64 -n" Note that the previous poster did not say "--address-model=64". He said "address-model=64". It's a feature, not an option. Features do not

[C++-sig] boost-python: Passing an object held in a boost::shared_ptr from C++ to python to C++

2012-08-30 Thread Philip Dunstan
Hi I have some code that creates an object in a shared_ptr in C++. The object is then used within python and passed from Python to another C++ function that tries to keep hold of it. It appears that when the object goes from C++ to Python it is converted from a shared_ptr into a python object. The