[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IMP-dev] return pointer in swig



hi,

How can I setup swig so that python will recognize a pointer to a class as the object itself.
More specifically, I have a function
MyClass *return_this() const;

and I would like python to treat MyClass as the actual object and not as a pointer.

thanks,
Keren.