mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
* group the (stateful) runtime globals into various topical structs * consolidate the topical structs under a single top-level _PyRuntimeState struct * add a check-c-globals.py script that helps identify runtime globals Other globals are excluded (see globals.txt and check-c-globals.py).
16 lines
368 B
C
16 lines
368 B
C
#ifndef _Py_PYTHON_H
|
|
#define _Py_PYTHON_H
|
|
/* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */
|
|
|
|
/* Include all internal Python header files */
|
|
|
|
#ifndef Py_BUILD_CORE
|
|
#error "Internal headers are not available externally."
|
|
#endif
|
|
|
|
#include "_mem.h"
|
|
#include "_ceval.h"
|
|
#include "_warnings.h"
|
|
#include "_pystate.h"
|
|
|
|
#endif /* !_Py_PYTHON_H */
|