File tree 8 files changed +10
-12
lines changed
8 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ extern "C" {
8
8
# error "this header requires Py_BUILD_CORE define"
9
9
#endif
10
10
11
+ #include "pycore_interp_structs.h" // struct codecs_state
11
12
#include "pycore_lock.h" // PyMutex
12
- #include "pycore_runtime_structs.h" // struct codecs_state
13
13
14
14
/* Initialize codecs-related state for the given interpreter, including
15
15
registering the first codec search function. Must be called before any other
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ extern "C" {
9
9
#endif
10
10
11
11
#include <locale.h> // struct lconv
12
- #include "pycore_runtime_structs .h" // _Py_error_handler
12
+ #include "pycore_interp_structs .h" // _Py_error_handler
13
13
14
14
15
15
/* A routine to check if a file descriptor can be select()-ed. */
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ extern "C" {
8
8
# error "this header requires Py_BUILD_CORE define"
9
9
#endif
10
10
11
- #include "pycore_pystate .h"
12
- #include "pycore_runtime_structs .h"
11
+ #include "pycore_interp_structs .h" // PyGC_Head
12
+ #include "pycore_pystate .h" // _PyInterpreterState_GET()
13
13
#include "pycore_typedefs.h" // _PyInterpreterFrame
14
14
15
15
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ extern "C" {
9
9
# error "this header requires Py_BUILD_CORE define"
10
10
#endif
11
11
12
- #include "pycore_lock.h" // PyMutex
13
- #include "pycore_runtime_structs.h" // _import_state
14
12
#include "pycore_hashtable.h" // _Py_hashtable_t
13
+ #include "pycore_interp_structs.h" // _import_state
14
+ #include "pycore_lock.h" // PyMutex
15
15
16
16
extern int _PyImport_IsInitialized (PyInterpreterState * );
17
17
Original file line number Diff line number Diff line change @@ -8,9 +8,6 @@ extern "C" {
8
8
# error "this header requires Py_BUILD_CORE define"
9
9
#endif
10
10
11
- #include <stdbool.h> // bool
12
-
13
- #include "pycore_runtime_structs.h"
14
11
#include "pycore_genobject.h" // _PyGen_FetchStopIterationValue
15
12
16
13
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ extern "C" {
8
8
# error "this header requires Py_BUILD_CORE define"
9
9
#endif
10
10
11
- #include "pycore_runtime_structs.h"
11
+ #include "pycore_runtime_structs.h" // _PyRuntimeState
12
+
12
13
13
14
/* API */
14
15
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ extern "C" {
57
57
# error "this header requires Py_BUILD_CORE define"
58
58
#endif
59
59
60
- #include "pycore_runtime_structs.h"
60
+ #include "pycore_runtime_structs.h" // _PyTimeFraction
61
61
62
62
#ifdef __clang__
63
63
struct timeval ;
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ extern "C" {
9
9
#endif
10
10
11
11
#include "pycore_function.h"
12
+ #include "pycore_interp_structs.h" // managed_static_type_state
12
13
#include "pycore_moduleobject.h" // PyModuleObject
13
- #include "pycore_runtime_structs.h" // type state
14
14
#include "pycore_stats.h"
15
15
16
16
You can’t perform that action at this time.
0 commit comments