mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Added the const qualifier for char* argument of Py_EnterRecursiveCall().
This commit is contained in:
parent
73c95f1949
commit
5fa22fc088
3 changed files with 3 additions and 3 deletions
|
@ -77,7 +77,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue