summaryrefslogtreecommitdiffstats
path: root/Include/ceval.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-06-21 13:27:09 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-06-21 13:27:09 (GMT)
commit289dd19124734b973e6f43f13328dfeca979d685 (patch)
tree2dce516f35371ce82894c316769b203b5efd02cd /Include/ceval.h
parentccfdf0923ace5bd64b7667516f18ef8fcce3c4db (diff)
parent5fa22fc088ac44c5652107c7c17cda01eaa84a28 (diff)
downloadcpython-289dd19124734b973e6f43f13328dfeca979d685.zip
cpython-289dd19124734b973e6f43f13328dfeca979d685.tar.gz
cpython-289dd19124734b973e6f43f13328dfeca979d685.tar.bz2
Added the const qualifier for char* argument of Py_EnterRecursiveCall().
Diffstat (limited to 'Include/ceval.h')
-rw-r--r--Include/ceval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/ceval.h b/Include/ceval.h
index ec62571..2472ae6 100644
--- a/Include/ceval.h
+++ b/Include/ceval.h
@@ -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