[C++-sig] Convert C++ Class to exposed class and back

Marcus Jannes jannes80 at hotmail.de
Tue Feb 12 13:33:09 CET 2008

It should read ExpClass not c_class here of course:

ExpClass pycall(ExpClass c){
         PyObject *py_obj;
         ExpClass c_result;
         py_obj = PyBuildValue("O",c); //does not work! Provide converter function with "O&" argument ?
         c_result = SomeConverterToC(py_obj); //???
         return c_result;

Kostenlose Messenger Emoticons! Hier downloaden!

More information about the Cplusplus-sig mailing list