summaryrefslogtreecommitdiffstats
path: root/Include/cpython/structseq.h
blob: 328fbe86143b02432fee6fc92a116b562d3ef81d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef Py_CPYTHON_STRUCTSEQ_H
#  error "this header file must not be included directly"
#endif

PyAPI_FUNC(void) PyStructSequence_InitType(PyTypeObject *type,
                                           PyStructSequence_Desc *desc);
PyAPI_FUNC(int) PyStructSequence_InitType2(PyTypeObject *type,
                                           PyStructSequence_Desc *desc);

typedef PyTupleObject PyStructSequence;
#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
#define PyStructSequence_GET_ITEM PyStructSequence_GetItem