diff options
| author | Victor Stinner <vstinner@python.org> | 2020-04-13 11:45:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-13 11:45:21 +0200 |
| commit | 1c4cbdf94dbb4a6ac1093d2fa7a75efa802b25bc (patch) | |
| tree | e83ac1dbc56e942701d0ac73ce722a90ddedfa22 /PCbuild | |
| parent | 0135598d729d01f35ce08d47160adaa095a6149f (diff) | |
| download | cpython-git-1c4cbdf94dbb4a6ac1093d2fa7a75efa802b25bc.tar.gz | |
bpo-40268: Add pycore_runtime.h header file (GH-19493)
Move PyRuntimeState from pycore_pystate.h to pycore_runtime.h.
Remove _PyGILState_check_enabled macro: access directly
_PyRuntime.gilstate.check_enabled.
Diffstat (limited to 'PCbuild')
| -rw-r--r-- | PCbuild/pythoncore.vcxproj | 1 | ||||
| -rw-r--r-- | PCbuild/pythoncore.vcxproj.filters | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index 95f9e9b445..df0eb3af9d 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -184,6 +184,7 @@ <ClInclude Include="..\Include\internal\pycore_pylifecycle.h" /> <ClInclude Include="..\Include\internal\pycore_pymem.h" /> <ClInclude Include="..\Include\internal\pycore_pystate.h" /> + <ClInclude Include="..\Include\internal\pycore_runtime.h" /> <ClInclude Include="..\Include\internal\pycore_sysmodule.h" /> <ClInclude Include="..\Include\internal\pycore_traceback.h" /> <ClInclude Include="..\Include\internal\pycore_tupleobject.h" /> diff --git a/PCbuild/pythoncore.vcxproj.filters b/PCbuild/pythoncore.vcxproj.filters index 32da3659d3..8c605c8d72 100644 --- a/PCbuild/pythoncore.vcxproj.filters +++ b/PCbuild/pythoncore.vcxproj.filters @@ -255,6 +255,9 @@ <ClInclude Include="..\Include\internal\pycore_pystate.h"> <Filter>Include</Filter> </ClInclude> + <ClInclude Include="..\Include\internal\pycore_runtime.h"> + <Filter>Include</Filter> + </ClInclude> <ClInclude Include="..\Include\internal\pycore_sysmodule.h"> <Filter>Include</Filter> </ClInclude> |
