Hello all,
I am having issues passing pointers from C++ to python, as I describe here: http://stackoverflow.com/questions/18646694/pass-pointer-from-c-to-python-w-boost-python In short, even the example of "Raw C++ pointers" from here: https://wiki.python.org/moin/boost.python/PointersAndSmartPointers causes a segfault when I compile and run it, although I can use other features of Boost Python successfully. The crash appears to be a segfault from invoke.hpp, in this function: template <class RC, class F BOOST_PP_ENUM_TRAILING_PARAMS_Z(1, N, class AC)> inline PyObject* invoke(invoke_tag_<false,false>, RC const& rc, F& f BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_Z(1, N, AC, & ac) ) { return rc(f( BOOST_PP_ENUM_BINARY_PARAMS_Z(1, N, ac, () BOOST_PP_INTERCEPT) )); } Does anyone have any suggestions? Thanks, Alex
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org https://mail.python.org/mailman/listinfo/cplusplus-sig