summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-06-21 13:27:36 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-06-21 13:27:36 (GMT)
commitdcbff7d4e1616fcc596d0ff989dfdb863a017661 (patch)
treeca5d2cf327ce6769c20dca2e09d3c07f59d30d26 /Include
parent86621ae19be63bf73e51ca71784324a0981b4286 (diff)
parent289dd19124734b973e6f43f13328dfeca979d685 (diff)
downloadcpython-dcbff7d4e1616fcc596d0ff989dfdb863a017661.zip
cpython-dcbff7d4e1616fcc596d0ff989dfdb863a017661.tar.gz
cpython-dcbff7d4e1616fcc596d0ff989dfdb863a017661.tar.bz2
Added the const qualifier for char* argument of Py_EnterRecursiveCall().
Diffstat (limited to 'Include')
-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