mirror of
https://github.com/python/cpython.git
synced 2025-08-23 18:24:46 +00:00
gh-131238: Remove pycore_runtime.h from pycore_pystate.h (#131356)
* Remove includes from pycore_pystate.h: * pycore_runtime_structs.h * pycore_runtime.h * pycore_tstate.h * pycore_interp.h * Reorganize internal headers. Move _gc_thread_state from pycore_interp_structs.h to pycore_tstate.h. * Add 3 new header files to PCbuild/pythoncore.vcxproj.
This commit is contained in:
parent
0a54bd6dd7
commit
4b54031323
16 changed files with 46 additions and 28 deletions
|
@ -6,6 +6,7 @@
|
|||
#include "pycore_ceval.h" // _PyEval_Vector()
|
||||
#include "pycore_compile.h" // _PyAST_Compile()
|
||||
#include "pycore_fileutils.h" // _PyFile_Flush
|
||||
#include "pycore_interp.h" // _PyInterpreterState_GetConfig()
|
||||
#include "pycore_long.h" // _PyLong_CompactValue
|
||||
#include "pycore_modsupport.h" // _PyArg_NoKwnames()
|
||||
#include "pycore_object.h" // _Py_AddToAllObjects()
|
||||
|
|
|
@ -3,9 +3,10 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "pycore_fileutils.h" // _Py_add_relfile()
|
||||
#include "pycore_importdl.h" // dl_funcptr
|
||||
#include "pycore_interp.h" // _PyInterpreterState_GetConfig()
|
||||
#include "pycore_pystate.h" // _PyInterpreterState_GET()
|
||||
|
||||
#include "pycore_importdl.h" // dl_funcptr
|
||||
#include "patchlevel.h" // PY_MAJOR_VERSION
|
||||
#include <windows.h>
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#include "Python.h"
|
||||
#include "pycore_initconfig.h" // _PyStatus_ERR
|
||||
#include "pycore_time.h" // PyTime_t
|
||||
#include "pycore_pystate.h" // _Py_AssertHoldsTstate()
|
||||
#include "pycore_runtime.h" // _PyRuntime
|
||||
#include "pycore_time.h" // PyTime_t
|
||||
|
||||
#include <time.h> // gmtime_r()
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue