mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Added the const qualifier for char* argument of Py_EnterRecursiveCall().
This commit is contained in:
@@ -712,7 +712,7 @@ Py_SetRecursionLimit(int new_limit)
|
||||
to guarantee that _Py_CheckRecursiveCall() is regularly called.
|
||||
Without USE_STACKCHECK, there is no need for this. */
|
||||
int
|
||||
_Py_CheckRecursiveCall(char *where)
|
||||
_Py_CheckRecursiveCall(const char *where)
|
||||
{
|
||||
PyThreadState *tstate = PyThreadState_GET();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user