Name
sipGetThisWrapper -- Convert a C/C++ pointer to the object that
wraps it
Synopsis
sipThisType *
sipGetThisWrapper
(const void *
cppPtr, PyObject *
pyClass);
Description
Return Value
Return the wrapped Python object or NULL if it wasn't
found.
cppPtr
The C++ pointer, used as a key to SIPs object map.
pyClass
if the wrapped object is a sub-class of the given
pyClass then we assume we are
returning the value of something like
QObject::parent() where the parent is something like a
QLabel.