#ifndef Py_CPYTHON_PYSTATE_H
# error "this header file must not be included directly"
#endif
PyAPI_FUNC(int) _PyInterpreterState_RequiresIDRef(PyInterpreterState *);
PyAPI_FUNC(void) _PyInterpreterState_RequireIDRef(PyInterpreterState *, int);
PyAPI_FUNC(PyObject *) PyUnstable_InterpreterState_GetMainModule(PyInterpreterState *);
Py_tracefunc;
#define PyTrace_CALL …
#define PyTrace_EXCEPTION …
#define PyTrace_LINE …
#define PyTrace_RETURN …
#define PyTrace_C_CALL …
#define PyTrace_C_EXCEPTION …
#define PyTrace_C_RETURN …
#define PyTrace_OPCODE …
_PyErr_StackItem;
_PyStackChunk;
struct _ts { … };
#ifdef Py_DEBUG
#define Py_C_RECURSION_LIMIT …
#elif defined(__s390x__)
#define Py_C_RECURSION_LIMIT …
#elif defined(_WIN32) && defined(_M_ARM64)
#define Py_C_RECURSION_LIMIT …
#elif defined(_WIN32)
#define Py_C_RECURSION_LIMIT …
#elif defined(__ANDROID__)
#define Py_C_RECURSION_LIMIT …
#elif defined(_Py_ADDRESS_SANITIZER)
#define Py_C_RECURSION_LIMIT …
#elif defined(__sparc__)
#define Py_C_RECURSION_LIMIT …
#elif defined(__wasi__)
#define Py_C_RECURSION_LIMIT …
#elif defined(__hppa__) || defined(__powerpc64__)
#define Py_C_RECURSION_LIMIT …
#else
#define Py_C_RECURSION_LIMIT …
#endif
PyAPI_FUNC(PyThreadState *) PyThreadState_GetUnchecked(void);
#define _PyThreadState_UncheckedGet …
PyAPI_FUNC(void) PyThreadState_EnterTracing(PyThreadState *tstate);
PyAPI_FUNC(void) PyThreadState_LeaveTracing(PyThreadState *tstate);
PyAPI_FUNC(int) PyGILState_Check(void);
PyAPI_FUNC(PyObject*) _PyThread_CurrentFrames(void);
PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Main(void);
PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Head(void);
PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Next(PyInterpreterState *);
PyAPI_FUNC(PyThreadState *) PyInterpreterState_ThreadHead(PyInterpreterState *);
PyAPI_FUNC(PyThreadState *) PyThreadState_Next(PyThreadState *);
PyAPI_FUNC(void) PyThreadState_DeleteCurrent(void);
_PyFrameEvalFunction;
PyAPI_FUNC(_PyFrameEvalFunction) _PyInterpreterState_GetEvalFrameFunc(
PyInterpreterState *interp);
PyAPI_FUNC(void) _PyInterpreterState_SetEvalFrameFunc(
PyInterpreterState *interp,
_PyFrameEvalFunction eval_frame);