From: Dag Sverre Seljebotn Date: Sat, 21 Feb 2009 17:28:50 +0000 (+0100) Subject: refnanny fix X-Git-Tag: 0.11.rc~64^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=38e665c4e9dd040ebfa78d6c8dde0a62a5c30274;p=cython.git refnanny fix --- diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index c28b6593..c6632d65 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -2359,7 +2359,7 @@ static __Pyx_RefnannyAPIStruct *__Pyx_Refnanny = NULL; #define __Pyx_GIVEREF(r) #define __Pyx_XDECREF(r) Py_XDECREF(r) #define __Pyx_SetupRefcountContext(name) -#define __Pyx_FinishRefcountContext() 0 +#define __Pyx_FinishRefcountContext() #endif /* CYTHON_REFNANNY */ #define __Pyx_XGIVEREF(r) if((r) == NULL) ; else __Pyx_GIVEREF(r) #define __Pyx_XGOTREF(r) if((r) == NULL) ; else __Pyx_GOTREF(r)