diff options
Diffstat (limited to 'Include/ceval.h')
-rw-r--r-- | Include/ceval.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Include/ceval.h b/Include/ceval.h index 7cbbf7c..b2d57cb 100644 --- a/Include/ceval.h +++ b/Include/ceval.h @@ -93,12 +93,7 @@ PyAPI_FUNC(int) Py_GetRecursionLimit(void); PyThreadState_GET()->overflowed = 0; \ } while(0) PyAPI_FUNC(int) _Py_CheckRecursiveCall(const char *where); -#ifdef Py_BUILD_CORE -#define _Py_CheckRecursionLimit _PyRuntime.ceval.check_recursion_limit -#else -PyAPI_FUNC(int) _PyEval_CheckRecursionLimit(void); -#define _Py_CheckRecursionLimit _PyEval_CheckRecursionLimit() -#endif +PyAPI_DATA(int) _Py_CheckRecursionLimit; #ifdef USE_STACKCHECK /* With USE_STACKCHECK, we artificially decrement the recursion limit in order |