48 #define PyTrace_CALL 0
49 #define PyTrace_EXCEPTION 1
50 #define PyTrace_LINE 2
51 #define PyTrace_RETURN 3
52 #define PyTrace_C_CALL 4
53 #define PyTrace_C_EXCEPTION 5
54 #define PyTrace_C_RETURN 6
108 PyAPI_FUNC(
void) PyInterpreterState_Delete(PyInterpreterState *);
113 PyAPI_FUNC(
void) PyThreadState_Clear(PyThreadState *);
114 PyAPI_FUNC(
void) PyThreadState_Delete(PyThreadState *);
116 PyAPI_FUNC(
void) PyThreadState_DeleteCurrent(
void);
119 PyAPI_FUNC(PyThreadState *) PyThreadState_Get(
void);
120 PyAPI_FUNC(PyThreadState *) PyThreadState_Swap(PyThreadState *);
121 PyAPI_FUNC(PyObject *) PyThreadState_GetDict(
void);
122 PyAPI_FUNC(
int) PyThreadState_SetAsyncExc(
long, PyObject *);
127 PyAPI_DATA(PyThreadState *) _PyThreadState_Current;
130 #define PyThreadState_GET() PyThreadState_Get()
132 #define PyThreadState_GET() (_PyThreadState_Current)
178 PyAPI_FUNC(PyThreadState *) PyGILState_GetThisThreadState(
void);
183 PyAPI_FUNC(PyObject *) _PyThread_CurrentFrames(
void);
187 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Head(
void);
188 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Next(PyInterpreterState *);
189 PyAPI_FUNC(PyThreadState *) PyInterpreterState_ThreadHead(PyInterpreterState *);
190 PyAPI_FUNC(PyThreadState *) PyThreadState_Next(PyThreadState *);