sheig222 at gmail.com
Wed Aug 3 08:44:30 CEST 2005
Say I have a C++ class exposed to python. The C++ code creates an instance
of said class and I want to retrieve it from python code.
What would be the correct way for python code to 'get' the reference?
Regardless can someone please elaborate on the the whole "param passing &
return value" subject. It might be me but I had a hard time with
return_arg<> (I don't get what arg_pos is suppose to mean), and the example
discusses only return_self
What I *tried* to do is:
pMyClass = new MyClass;
def ("GetMyClass", GetMyClass);
This didn't compile with "C2027 use of unspecified type
I tried messing around with the def, adding return_arg<> but nothing did the
trick for me.
More information about the Cplusplus-sig