Back to index

python3.2  3.2.2
Classes | Defines | Typedefs | Enumerations | Functions
pystate.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  _is
struct  _ts


#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*)_Py_atomic_load_relaxed(&_PyThreadState_Current))


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




 PyAPI_FUNC (PyInterpreterState *) PyInterpreterState_New(void)
 PyAPI_FUNC (void) PyInterpreterState_Clear(PyInterpreterState *)
 PyAPI_FUNC (int) _PyState_AddModule(PyObject *
struct PyModuleDefPyAPI_FUNC (PyObject *) PyState_FindModule(struct PyModuleDef *)
 PyAPI_FUNC (PyThreadState *) PyThreadState_New(PyInterpreterState *)
PyObjectPyAPI_DATA (_Py_atomic_address) _PyThreadState_Current
 PyAPI_FUNC (PyGILState_STATE) PyGILState_Ensure(void)
 PyAPI_DATA (PyThreadFrameGetter) _PyThreadState_GetFrame

Class Documentation

struct _is

Definition at line 19 of file pystate.h.

Collaboration diagram for _is:
Class Members
PyObject * builtins
PyObject * codec_error_registry
PyObject * codec_search_cache
PyObject * codec_search_path
int codecs_initialized
int fscodec_initialized
PyObject * modules
PyObject * modules_by_index
PyObject * modules_reloading
struct _is * next
PyObject * sysdict
struct _ts * tstate_head
struct _ts

Definition at line 68 of file pystate.h.

Collaboration diagram for _ts:
Class Members
PyObject * async_exc
Py_tracefunc c_profilefunc
PyObject * c_profileobj
Py_tracefunc c_tracefunc
PyObject * c_traceobj
PyObject * curexc_traceback
PyObject * curexc_type
PyObject * curexc_value
PyObject * dict
PyObject * exc_traceback
PyObject * exc_type
PyObject * exc_value
struct _frame * frame
int gilstate_counter
PyInterpreterState * interp
struct _ts * next
char overflowed
char recursion_critical
int recursion_depth
long thread_id
int tick_counter
int tracing
int use_tracing

Define Documentation

Definition at line 155 of file pystate.h.

#define PyTrace_C_CALL   4

Definition at line 60 of file pystate.h.

#define PyTrace_C_EXCEPTION   5

Definition at line 61 of file pystate.h.

#define PyTrace_C_RETURN   6

Definition at line 62 of file pystate.h.

#define PyTrace_CALL   0

Definition at line 56 of file pystate.h.

#define PyTrace_EXCEPTION   1

Definition at line 57 of file pystate.h.

#define PyTrace_LINE   2

Definition at line 58 of file pystate.h.

#define PyTrace_RETURN   3

Definition at line 59 of file pystate.h.

Typedef Documentation

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

Definition at line 53 of file pystate.h.

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

Definition at line 219 of file pystate.h.

typedef struct _ts PyThreadState

Enumeration Type Documentation


Definition at line 159 of file pystate.h.

Function Documentation

Definition at line 1904 of file object.c.

PyAPI_FUNC ( int  )

Definition at line 2410 of file pythonrun.c.

struct PyModuleDef* PyAPI_FUNC ( PyObject ) [read]

Definition at line 2431 of file pythonrun.c.

    return PyRun_FileExFlags(fp, p, s, g, l, c, NULL);