sipGetCppPtr

Name

sipGetCppPtr -- Get the C/C++ pointer from a wrapper and cast it to the required type

Synopsis

const void * sipGetCppPtr(sipThisType * w, PyObject * toClass);

Description

Return Value

A pointer to the appropriate C++ class or NULL in case of an error.

w

A pointer to SIPs info about the Python object.

toClass

A pointer to the Python object.