summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_runtime_init.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-12-09 00:17:20 (GMT)
committerGitHub <noreply@github.com>2022-12-09 00:17:20 (GMT)
commitbc8cdf8c3d58f5d28c9e70c72eaae52c6d13f961 (patch)
tree35495a27bc0859e3d44af7f39ad5dfce8f01fe18 /Include/internal/pycore_runtime_init.h
parent1cfa704f64193701e400a77d2287f3526ff026f8 (diff)
downloadcpython-bc8cdf8c3d58f5d28c9e70c72eaae52c6d13f961.zip
cpython-bc8cdf8c3d58f5d28c9e70c72eaae52c6d13f961.tar.gz
cpython-bc8cdf8c3d58f5d28c9e70c72eaae52c6d13f961.tar.bz2
gh-81057: Move Ceval Trampoline Globals to _PyRuntimeState (gh-100083)
https://github.com/python/cpython/issues/81057
Diffstat (limited to 'Include/internal/pycore_runtime_init.h')
-rw-r--r--Include/internal/pycore_runtime_init.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/internal/pycore_runtime_init.h b/Include/internal/pycore_runtime_init.h
index ab53876..b569e58 100644
--- a/Include/internal/pycore_runtime_init.h
+++ b/Include/internal/pycore_runtime_init.h
@@ -41,6 +41,9 @@ extern "C" {
.header = 1, \
}, \
}, \
+ .ceval = { \
+ .perf = _PyEval_RUNTIME_PERF_INIT, \
+ }, \
.gilstate = { \
.check_enabled = 1, \
/* A TSS key must be initialized with Py_tss_NEEDS_INIT \