# error "this header requires Py_BUILD_CORE define"
#endif
+#include "pycore_interp_structs.h" // struct codecs_state
#include "pycore_lock.h" // PyMutex
-#include "pycore_runtime_structs.h" // struct codecs_state
/* Initialize codecs-related state for the given interpreter, including
registering the first codec search function. Must be called before any other
#endif
#include <locale.h> // struct lconv
-#include "pycore_runtime_structs.h" // _Py_error_handler
+#include "pycore_interp_structs.h" // _Py_error_handler
/* A routine to check if a file descriptor can be select()-ed. */
# error "this header requires Py_BUILD_CORE define"
#endif
-#include "pycore_pystate.h"
-#include "pycore_runtime_structs.h"
+#include "pycore_interp_structs.h" // PyGC_Head
+#include "pycore_pystate.h" // _PyInterpreterState_GET()
#include "pycore_typedefs.h" // _PyInterpreterFrame
# error "this header requires Py_BUILD_CORE define"
#endif
-#include "pycore_lock.h" // PyMutex
-#include "pycore_runtime_structs.h" // _import_state
#include "pycore_hashtable.h" // _Py_hashtable_t
+#include "pycore_interp_structs.h" // _import_state
+#include "pycore_lock.h" // PyMutex
extern int _PyImport_IsInitialized(PyInterpreterState *);
# error "this header requires Py_BUILD_CORE define"
#endif
-#include <stdbool.h> // bool
-
-#include "pycore_runtime_structs.h"
#include "pycore_genobject.h" // _PyGen_FetchStopIterationValue
# error "this header requires Py_BUILD_CORE define"
#endif
-#include "pycore_runtime_structs.h"
+#include "pycore_runtime_structs.h" // _PyRuntimeState
+
/* API */
# error "this header requires Py_BUILD_CORE define"
#endif
-#include "pycore_runtime_structs.h"
+#include "pycore_runtime_structs.h" // _PyTimeFraction
#ifdef __clang__
struct timeval;
#endif
#include "pycore_function.h"
+#include "pycore_interp_structs.h" // managed_static_type_state
#include "pycore_moduleobject.h" // PyModuleObject
-#include "pycore_runtime_structs.h" // type state
#include "pycore_stats.h"