diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2022-01-13 15:54:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 15:54:36 -0700 |
commit | bc02eac9d2cb36faffc5027b7ce09e6dd0922a7f (patch) | |
tree | ebb4db98393a375ee76553e6d703a25cfbf1e1bf /Include/internal/pycore_runtime.h | |
parent | 276c234ce0fa6732237f1b187989837324d9dea3 (diff) | |
download | cpython3-bc02eac9d2cb36faffc5027b7ce09e6dd0922a7f.tar.gz |
bpo-46370: Move the static initializer for _PyRuntime to its own header file. (gh-30587)
https://bugs.python.org/issue46370
Diffstat (limited to 'Include/internal/pycore_runtime.h')
-rw-r--r-- | Include/internal/pycore_runtime.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Include/internal/pycore_runtime.h b/Include/internal/pycore_runtime.h index a66a3cf3a3..038e6f8263 100644 --- a/Include/internal/pycore_runtime.h +++ b/Include/internal/pycore_runtime.h @@ -148,21 +148,6 @@ typedef struct pyruntimestate { PyInterpreterState _main_interpreter; } _PyRuntimeState; -#define _PyThreadState_INIT \ - { \ - ._static = 1, \ - } -#define _PyInterpreterState_INIT \ - { \ - ._static = 1, \ - ._initial_thread = _PyThreadState_INIT, \ - } -#define _PyRuntimeState_INIT \ - { \ - .global_objects = _Py_global_objects_INIT, \ - ._main_interpreter = _PyInterpreterState_INIT, \ - } - /* other API */ |