[C++-sig] Boost::Python to_python converter
Stefan Seefeld
stefan at seefeld.name
Tue Apr 3 17:20:52 CEST 2012
DarkAnt,
have you tried taking out the explicit to_python converter ? I don't
think you need that, as the class_<Unit> will already implicitly provide
that.
Also, out of curiosity: I'm not sure the "coord" member conversion will
work out-of-the-box, unless you also reflect std::pair<int,int> to
Python using class_<> or a converter.
Stefan
--
...ich hab' noch einen Koffer in Berlin...
More information about the Cplusplus-sig
mailing list