[C++-sig] copy boost::python::object crashes

2010-01-23 Thread sergun
I have a problem with storing reference to Python object inside C++. The following Boost.Python wrapping class: #include using namespace boost; using namespace boost::python; namespace cmodule { object y; void setY(object y1) { y = y1; } } using namespace cmodule; BOOST_PYTHON_MODULE(cm

Re: [C++-sig] copy boost::python::object crashes

2010-01-23 Thread Jim Bosch
On Sat, 2010-01-23 at 15:59 +, sergun wrote: > I have a problem with storing reference to Python object inside C++. > > The following Boost.Python wrapping class: > > > > #include > > using namespace boost; > using namespace boost::python; > > namespace cmodule > { > > object y; > > vo

Re: [C++-sig] boost python calling conventions support patch submission (__stdcall, __cdecl, __fastcall)

2010-01-23 Thread David Abrahams
At Fri, 15 Jan 2010 18:09:36 +0100, Nicolas Lelong wrote: > > My previous mail once again got lost, gotta be more careful... > > > Changes (by dave): > > > > This looks terrific! I'll try to get it applied ASAP. Please poke me if > > you don't see it in trunk by the end of the week. > > Th