Skip to content

Commit 5bd5c80

Browse files
Move core-only field to end of struct.
1 parent 4f447cd commit 5bd5c80

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

Include/internal/pycore_pystate.h

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@ struct _is {
4343
/* Used in Python/sysmodule.c. */
4444
int check_interval;
4545

46-
#ifdef Py_BUILD_CORE
47-
struct _ceval {
48-
/* This single variable consolidates all requests to break out of
49-
the fast path in the eval loop. */
50-
_Py_atomic_int eval_breaker;
51-
struct _pending_calls pending;
52-
} ceval;
53-
#endif
54-
5546
/* Used in Modules/_threadmodule.c. */
5647
long num_threads;
5748
/* Support for runtime thread stack size tuning.
@@ -90,6 +81,13 @@ struct _is {
9081
PyObject *pyexitmodule;
9182

9283
uint64_t tstate_next_unique_id;
84+
85+
struct _ceval {
86+
/* This single variable consolidates all requests to break out of
87+
the fast path in the eval loop. */
88+
_Py_atomic_int eval_breaker;
89+
struct _pending_calls pending;
90+
} ceval;
9391
};
9492

9593
PyAPI_FUNC(struct _is*) _PyInterpreterState_LookUpID(PY_INT64_T);

0 commit comments

Comments
 (0)