Re: [C++-sig] TypeError: No to_python (by-value) converter found for C++ type: class std::basic_ostream >

2010-09-30 Thread Simon W
I don't quite understand your approach to 100%. But you gave me another idea. Here's how it looks when I call python function: Uint32 serialise(const GameObject* obj, std::ostream& file) { if(boost::python::override f = get_override("serialise")) {

Re: [C++-sig] TypeError: No to_python (by-value) converter found for C++ type: class std::basic_ostream >

2010-09-30 Thread Simon Warg
And I forgot to tell you, the python class in an extension of a c++ class. Hence I have the serialise and deserialise function defined in python. // Simon On 29 sep 2010, at 16.02, Jakub Zytka wrote: On 09/29/10 14:11, Simon W wrote: Thank you for the answer. Is there any way I can preven