/* Named tuple object interface */#ifndef Py_STRUCTSEQ_H#define Py_STRUCTSEQ_H#ifdef __cplusplusextern "C" {#endiftypedef struct PyStructSequence_Field {const char *name;const char *doc;} PyStructSequence_Field;typedef struct PyStructSequence_Desc {const char *name;const char *doc;struct PyStructSequence_Field *fields;int n_in_sequence;} PyStructSequence_Desc;extern char* PyStructSequence_UnnamedField;#ifndef Py_LIMITED_APIPyAPI_FUNC(void) PyStructSequence_InitType(PyTypeObject *type,PyStructSequence_Desc *desc);PyAPI_FUNC(int) PyStructSequence_InitType2(PyTypeObject *type,PyStructSequence_Desc *desc);#endifPyAPI_FUNC(PyTypeObject*) PyStructSequence_NewType(PyStructSequence_Desc *desc);PyAPI_FUNC(PyObject *) PyStructSequence_New(PyTypeObject* type);#ifndef Py_LIMITED_APItypedef PyTupleObject PyStructSequence;/* Macro, *only* to be used to fill in brand new objects */#define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v)#define PyStructSequence_GET_ITEM(op, i) PyTuple_GET_ITEM(op, i)#endifPyAPI_FUNC(void) PyStructSequence_SetItem(PyObject*, Py_ssize_t, PyObject*);PyAPI_FUNC(PyObject*) PyStructSequence_GetItem(PyObject*, Py_ssize_t);#ifdef __cplusplus}#endif#endif /* !Py_STRUCTSEQ_H */
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。