File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,14 @@ extern "C" {
12
12
struct pyruntimestate ;
13
13
struct _ceval_runtime_state ;
14
14
15
+ #ifndef Py_DEFAULT_RECURSION_LIMIT
16
+ # define Py_DEFAULT_RECURSION_LIMIT 1000
17
+ #endif
18
+
15
19
#include "pycore_interp.h" // PyInterpreterState.eval_frame
16
20
#include "pycore_pystate.h" // _PyThreadState_GET()
17
21
22
+
18
23
extern void _Py_FinishPendingCalls (PyThreadState * tstate );
19
24
extern void _PyEval_InitRuntimeState (struct _ceval_runtime_state * );
20
25
extern void _PyEval_InitState (struct _ceval_state * , PyThread_type_lock );
Original file line number Diff line number Diff line change @@ -737,10 +737,6 @@ Py_MakePendingCalls(void)
737
737
738
738
/* The interpreter's recursion limit */
739
739
740
- #ifndef Py_DEFAULT_RECURSION_LIMIT
741
- # define Py_DEFAULT_RECURSION_LIMIT 1000
742
- #endif
743
-
744
740
void
745
741
_PyEval_InitRuntimeState (struct _ceval_runtime_state * ceval )
746
742
{
You can’t perform that action at this time.
0 commit comments