diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-06-21 16:26:28 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-06-21 16:26:28 +0300 |
commit | 5fa22fc088ac44c5652107c7c17cda01eaa84a28 (patch) | |
tree | f9190a64d589605debb6a08191a88a89c5e76dea /Include/ceval.h | |
parent | 73c95f194975a9a6226f3f6fd87352e7337a20dd (diff) | |
download | cpython-git-5fa22fc088ac44c5652107c7c17cda01eaa84a28.tar.gz |
Added the const qualifier for char* argument of Py_EnterRecursiveCall().
Diffstat (limited to 'Include/ceval.h')
-rw-r--r-- | Include/ceval.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/ceval.h b/Include/ceval.h index 6811367d76..4937f2c431 100644 --- a/Include/ceval.h +++ b/Include/ceval.h @@ -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 |