I have the following class:
class T {
};
// T has been exposed to python with class_
and free function:
void add_T( T* );
Ownership of the T* is taken by this C++ function.
If I create an instance of the python version of T, how do I "def" the
add_T function?
def("add_T", add_T)
fails to compile.
_______________________________________________ Cplusplus-sig mailing list [email protected] https://mail.python.org/mailman/listinfo/cplusplus-sig
