Added the const qualifier for char* argument of Py_EnterRecursiveCall().

This commit is contained in:
Serhiy Storchaka 2015-06-21 16:27:09 +03:00
commit 289dd19124
3 changed files with 3 additions and 3 deletions

View file

@ -79,7 +79,7 @@ PyAPI_FUNC(int) Py_GetRecursionLimit(void);
do{ if(_Py_MakeEndRecCheck(PyThreadState_GET()->recursion_depth)) \
PyThreadState_GET()->overflowed = 0; \
} while(0)
PyAPI_FUNC(int) _Py_CheckRecursiveCall(char *where);
PyAPI_FUNC(int) _Py_CheckRecursiveCall(const char *where);
PyAPI_DATA(int) _Py_CheckRecursionLimit;
#ifdef USE_STACKCHECK