pystate.h File Reference

Macros

#define MAX_CO_EXTRA_USERS
 
#define PyThreadState_GET()
 
#define Py_CPYTHON_PYSTATE_H
 

Typedefs

typedef struct _ts PyThreadState
 
typedef struct _is PyInterpreterState
 

Enumerations

enum  PyGILState_STATE {
  PyGILState_LOCKED ,
  PyGILState_UNLOCKED
}
 

Functions

 PyAPI_FUNC (PyInterpreterState *) PyInterpreterState_New(void)
 
 PyAPI_FUNC (void) PyInterpreterState_Clear(PyInterpreterState *)
 
 PyAPI_FUNC (PyObject *) PyInterpreterState_GetDict(PyInterpreterState *)
 
 PyAPI_FUNC (int64_t) PyInterpreterState_GetID(PyInterpreterState *)
 
 PyAPI_FUNC (int) PyState_AddModule(PyObject *
 
 PyAPI_FUNC (PyThreadState *) PyThreadState_New(PyInterpreterState *)
 
 PyAPI_FUNC (PyFrameObject *) PyThreadState_GetFrame(PyThreadState *tstate)
 
 PyAPI_FUNC (uint64_t) PyThreadState_GetID(PyThreadState *tstate)
 
 PyAPI_FUNC (PyGILState_STATE) PyGILState_Ensure(void)
 

Macro Definition Documentation

◆ MAX_CO_EXTRA_USERS

#define MAX_CO_EXTRA_USERS

◆ PyThreadState_GET

#define PyThreadState_GET ( )

◆ Py_CPYTHON_PYSTATE_H

#define Py_CPYTHON_PYSTATE_H

Typedef Documentation

◆ PyThreadState

typedef struct _ts PyThreadState

◆ PyInterpreterState

typedef struct _is PyInterpreterState

Enumeration Type Documentation

◆ PyGILState_STATE

Enumerator
PyGILState_LOCKED 
PyGILState_UNLOCKED 

Function Documentation

◆ PyAPI_FUNC() [1/9]

PyAPI_FUNC ( PyInterpreterState )

◆ PyAPI_FUNC() [2/9]

PyAPI_FUNC ( void  )

◆ PyAPI_FUNC() [3/9]

PyAPI_FUNC ( PyObject )

◆ PyAPI_FUNC() [4/9]

PyAPI_FUNC ( int64_t  )

◆ PyAPI_FUNC() [5/9]

PyAPI_FUNC ( int  )

◆ PyAPI_FUNC() [6/9]

PyAPI_FUNC ( PyThreadState )

◆ PyAPI_FUNC() [7/9]

PyAPI_FUNC ( PyFrameObject )

◆ PyAPI_FUNC() [8/9]

PyAPI_FUNC ( uint64_t  )

◆ PyAPI_FUNC() [9/9]

PyAPI_FUNC ( PyGILState_STATE  )