@ -307,6 +307,7 @@ static const sipAPIDef sip_api = {
sip_api_register_attribute_getter ,
sip_api_is_api_enabled ,
sip_api_bad_callable_arg ,
sip_api_get_address ,
/*
* The following are deprecated parts of the public API .
*/
@ -901,7 +902,7 @@ static PyObject *dumpWrapper(PyObject *self, PyObject *args)
# else
printf ( " Reference count: %d \n " , Py_REFCNT ( sw ) ) ;
# endif
printf ( " Address of wrapped object: %p \n " , sip GetA ddress( sw ) ) ;
printf ( " Address of wrapped object: %p \n " , sip _api_get_a ddress( sw ) ) ;
printf ( " To be destroyed by: %s \n " , ( sipIsPyOwned ( sw ) ? " Python " : " C/C++ " ) ) ;
printf ( " Derived class?: %s \n " , ( sipIsDerived ( sw ) ? " yes " : " no " ) ) ;
@ -1071,7 +1072,7 @@ static PyObject *isDeleted(PyObject *self, PyObject *args)
if ( ! PyArg_ParseTuple ( args , " O!:isdeleted " , & sipSimpleWrapper_Type , & sw ) )
return NULL ;
res = ( sip GetA ddress( sw ) = = NULL ? Py_True : Py_False ) ;
res = ( sip _api_get_a ddress( sw ) = = NULL ? Py_True : Py_False ) ;
Py_INCREF ( res ) ;
return res ;
@ -7369,7 +7370,7 @@ static PyObject *sip_api_get_pyobject(void *cppPtr, const sipTypeDef *td)
/*
* Return the C / C + + pointer from a wrapper without any checks .
*/
void * sip GetA ddress( sipSimpleWrapper * sw )
void * sip _api_get_a ddress( sipSimpleWrapper * sw )
{
if ( sipIsAccessFunc ( sw ) )
return ( * sw - > u . afPtr ) ( ) ;
@ -7416,7 +7417,7 @@ static void *getComplexCppPtr(sipSimpleWrapper *sw, const sipTypeDef *td)
*/
void * sip_api_get_cpp_ptr ( sipSimpleWrapper * sw , const sipTypeDef * td )
{
void * ptr = sip GetA ddress( sw ) ;
void * ptr = sip _api_get_a ddress( sw ) ;
if ( checkPointer ( ptr , sw ) < 0 )
return NULL ;
@ -9213,7 +9214,7 @@ static int sipWrapper_clear(sipWrapper *self)
/* Remove any slots connected via a proxy. */
if ( sipTQtSupport ! = NULL & & sipPossibleProxy ( sw ) )
{
void * tx = sip GetA ddress( sw ) ;
void * tx = sip _api_get_a ddress( sw ) ;
if ( tx ! = NULL )
{
@ -9281,7 +9282,7 @@ static int sipWrapper_traverse(sipWrapper *self, visitproc visit, void *arg)
/* This should be handwritten code in PyTQt. */
if ( sipTQtSupport ! = NULL )
{
void * tx = sip GetA ddress( sw ) ;
void * tx = sip _api_get_a ddress( sw ) ;
if ( tx ! = NULL )
{