From: Lisandro Dalcin Date: Fri, 20 Feb 2009 14:03:48 +0000 (-0200) Subject: add missing const for char* arg in refnanny call X-Git-Tag: 0.11.rc~71^2^2~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b33174e7a5009928bf7af903c344d0ca4a2b57b8;p=cython.git add missing const for char* arg in refnanny call --- diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index 5caeb4c2..c44802d9 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -2338,7 +2338,7 @@ typedef struct { void (*DECREF)(void*, PyObject*, int); void (*GOTREF)(void*, PyObject*, int); void (*GIVEREF)(void*, PyObject*, int); - void* (*NewContext)(const char*, int, char*); + void* (*NewContext)(const char*, int, const char*); int (*FinishContext)(void**); } __Pyx_RefnannyAPIStruct; static __Pyx_RefnannyAPIStruct *__Pyx_Refnanny = NULL;