On 06/04/2013 01:12 PM, John Reid wrote:
Inner classes seem to be given the wrong name or perhaps this is by
design. Could someone enlighten me? If I do:
namespace py = boost::python;
py::class_< T > outer( "Outer" );
py::scope( outer );
py::class_< U > inner( "Inner" );
then in python:
import
Inner classes seem to be given the wrong name or perhaps this is by
design. Could someone enlighten me? If I do:
namespace py = boost::python;
py::class_< T > outer( "Outer" );
py::scope( outer );
py::class_< U > inner( "Inner" );
then in python:
import module as M
print M.Outer.Inner
gives "M.
Hi,
hope this is an adequate mailing list for this quesion, appologies in
advance if not.
I'm trying to embed python into a C++/Qt application using boost
python. This works pretty well except the whole program crashes when a
pyqt slot is invoked that takes a QString as its parameter.
This is a m