diff --git a/hurricane/src/isobar/hurricane/isobar/PyHurricane.h b/hurricane/src/isobar/hurricane/isobar/PyHurricane.h index a5c53a57..90c71963 100644 --- a/hurricane/src/isobar/hurricane/isobar/PyHurricane.h +++ b/hurricane/src/isobar/hurricane/isobar/PyHurricane.h @@ -194,13 +194,13 @@ extern "C" { #define GENERIC_METHOD_HEAD(SELF_TYPE,SELF_OBJECT,function) \ if ( self->ACCESS_OBJECT == NULL ) { \ - PyErr_SetString ( ProxyError, "Attempt to call " function " on an unbound hurricane object" ); \ - return ( NULL ); \ + PyErr_SetString( ProxyError, "Attempt to call " function " on an unbound hurricane object" ); \ + return NULL; \ } \ SELF_TYPE* SELF_OBJECT = dynamic_cast(self->ACCESS_OBJECT);\ - if ( self->ACCESS_OBJECT == NULL ) { \ - PyErr_SetString ( ProxyError, "Invalid dynamic_cast while calling " function "" ); \ - return ( NULL ); \ + if ( SELF_OBJECT == NULL ) { \ + PyErr_SetString( ProxyError, "Invalid dynamic_cast<> while calling " function "" ); \ + return NULL; \ }