python-2.7.6/include/pystate.h File Reference

pystate.h File Reference

Classes

struct  _is
 
struct  _ts
 

Macros

#define PyTrace_CALL   0
 
#define PyTrace_EXCEPTION   1
 
#define PyTrace_LINE   2
 
#define PyTrace_RETURN   3
 
#define PyTrace_C_CALL   4
 
#define PyTrace_C_EXCEPTION   5
 
#define PyTrace_C_RETURN   6
 
#define PyThreadState_GET()   (_PyThreadState_Current)
 

Typedefs

typedef struct _is PyInterpreterState
 
typedef int(* Py_tracefunc) (PyObject *, struct _frame *, int, PyObject *)
 
typedef struct _ts PyThreadState
 
typedef struct _frame *(* PyThreadFrameGetter) (PyThreadState *self_)
 

Enumerations

enum  PyGILState_STATE { PyGILState_LOCKED, PyGILState_UNLOCKED }
 

Functions

 PyAPI_FUNC (PyInterpreterState *) PyInterpreterState_New(void)
 
 PyAPI_FUNC (void) PyInterpreterState_Clear(PyInterpreterState *)
 
 PyAPI_FUNC (PyThreadState *) PyThreadState_New(PyInterpreterState *)
 
 PyAPI_FUNC (PyObject *) PyThreadState_GetDict(void)
 
 PyAPI_FUNC (int) PyThreadState_SetAsyncExc(long
 
PyObjectPyAPI_DATA (PyThreadState *) _PyThreadState_Current
 
 PyAPI_FUNC (PyGILState_STATE) PyGILState_Ensure(void)
 
 PyAPI_DATA (PyThreadFrameGetter) _PyThreadState_GetFrame
 

Macro Definition Documentation

#define PyThreadState_GET ( )    (_PyThreadState_Current)

Definition at line 132 of file pystate.h.

#define PyTrace_C_CALL   4

Definition at line 52 of file pystate.h.

#define PyTrace_C_EXCEPTION   5

Definition at line 53 of file pystate.h.

#define PyTrace_C_RETURN   6

Definition at line 54 of file pystate.h.

#define PyTrace_CALL   0

Definition at line 48 of file pystate.h.

#define PyTrace_EXCEPTION   1

Definition at line 49 of file pystate.h.

#define PyTrace_LINE   2

Definition at line 50 of file pystate.h.

#define PyTrace_RETURN   3

Definition at line 51 of file pystate.h.

Typedef Documentation

typedef int(* Py_tracefunc) (PyObject *, struct _frame *, int, PyObject *)

Definition at line 45 of file pystate.h.

typedef struct _is PyInterpreterState
typedef struct _frame*(* PyThreadFrameGetter) (PyThreadState *self_)

Definition at line 192 of file pystate.h.

typedef struct _ts PyThreadState

Enumeration Type Documentation

Enumerator
PyGILState_LOCKED 
PyGILState_UNLOCKED 

Definition at line 135 of file pystate.h.

Function Documentation

PyObject* PyAPI_DATA ( PyThreadState )
PyAPI_DATA ( PyThreadFrameGetter  )
PyAPI_FUNC ( PyInterpreterState )
PyAPI_FUNC ( void  )
PyAPI_FUNC ( PyThreadState )
PyAPI_FUNC ( PyObject )
PyAPI_FUNC ( int  )
PyAPI_FUNC ( PyGILState_STATE  )

Go to the source code of this file.