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
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
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