python-2.7.6/include/pystate.h Source File
Go to the documentation of this file.
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 *);
int(* Py_tracefunc)(PyObject *, struct _frame *, int, PyObject *)
PyObject * codec_error_registry
PyObject * codec_search_cache
Py_tracefunc c_profilefunc
PyObject * trash_delete_later
PyObject * curexc_traceback
PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_New(void)
PyObject * PyAPI_DATA(PyThreadState *) _PyThreadState_Current
struct _frame *(* PyThreadFrameGetter)(PyThreadState *self_)
struct _is PyInterpreterState
PyObject * codec_search_path
PyObject * modules_reloading
PyInterpreterState * interp