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...
_______________________________________________
Cplusplus-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cplusplus-sig