On Sat, Jan 03, 2009 at 03:30:14PM +0100, allefant wrote: > This could be solved by using different bindings, like Boost::Python > (or SWIG or pyrex or ...). > > Ivan, is there some specific reason you use the low-level Python-C-API for > this?
I was a bit surprised at this too; I've made only good experiences with SWIG from the moment when I stopped using their typemaps. SWIG does all the trivial object/method wrapping for you, and you can let it wrap methods that return/take PyObject* whenever you need more control. Maybe there was some specific reason? bye, Martin _______________________________________________ Wesnoth-dev mailing list Wesnoth-dev@gna.org https://mail.gna.org/listinfo/wesnoth-dev