diff options
Diffstat (limited to 'Include/internal/pycore_pylifecycle.h')
-rw-r--r-- | Include/internal/pycore_pylifecycle.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_pylifecycle.h index b0a98f5..d6f9ecc 100644 --- a/Include/internal/pycore_pylifecycle.h +++ b/Include/internal/pycore_pylifecycle.h @@ -8,8 +8,9 @@ extern "C" { # error "this header requires Py_BUILD_CORE define" #endif -#include "pycore_initconfig.h" /* _PyArgv */ -#include "pycore_pystate.h" /* _PyRuntimeState */ +/* Forward declarations */ +typedef struct _PyArgv _PyArgv; +typedef struct pyruntimestate _PyRuntimeState; /* True if the main interpreter thread exited due to an unhandled * KeyboardInterrupt exception, suggesting the user pressed ^C. */ |