deimos.python.structseq

Mirror structseq.h

Tuple object interface

Members

Aliases

PyStructSequence
alias PyStructSequence = PyTupleObject

_

PyStructSequence_SET_ITEM
alias PyStructSequence_SET_ITEM = PyTuple_SET_ITEM

_

Functions

PyStructSequence_GetItem
PyObject* PyStructSequence_GetItem(PyObject* , Py_ssize_t )

Availability: >= 3.2

PyStructSequence_InitType
void PyStructSequence_InitType(PyTypeObject* type, PyStructSequence_Desc* desc)

_

PyStructSequence_New
PyObject* PyStructSequence_New(PyTypeObject* type)

_

PyStructSequence_NewType
PyTypeObject* PyStructSequence_NewType(PyStructSequence_Desc* desc)

Availability: >= 3.2

PyStructSequence_SET_ITEM
PyObject* PyStructSequence_SET_ITEM(PyObject* op, int i, PyObject* v)

Macro, *only* to be used to fill in brand new objects

PyStructSequence_SetItem
void PyStructSequence_SetItem(PyObject* , Py_ssize_t , PyObject* )

Availability: >= 3.2

Structs

PyStructSequence
struct PyStructSequence

_

PyStructSequence_Desc
struct PyStructSequence_Desc

_

PyStructSequence_Field
struct PyStructSequence_Field

_

Meta