+++ /dev/null
-\r
-/* Tuple object interface */\r
-\r
-#ifndef Py_STRUCTSEQ_H\r
-#define Py_STRUCTSEQ_H\r
-#ifdef __cplusplus\r
-extern "C" {\r
-#endif\r
-\r
-typedef struct PyStructSequence_Field {\r
- char *name;\r
- char *doc;\r
-} PyStructSequence_Field;\r
-\r
-typedef struct PyStructSequence_Desc {\r
- char *name;\r
- char *doc;\r
- struct PyStructSequence_Field *fields;\r
- int n_in_sequence;\r
-} PyStructSequence_Desc;\r
-\r
-extern char* PyStructSequence_UnnamedField;\r
-\r
-PyAPI_FUNC(void) PyStructSequence_InitType(PyTypeObject *type,\r
- PyStructSequence_Desc *desc);\r
-\r
-PyAPI_FUNC(PyObject *) PyStructSequence_New(PyTypeObject* type);\r
-\r
-typedef struct {\r
- PyObject_VAR_HEAD\r
- PyObject *ob_item[1];\r
-} PyStructSequence;\r
-\r
-/* Macro, *only* to be used to fill in brand new objects */\r
-#define PyStructSequence_SET_ITEM(op, i, v) \\r
- (((PyStructSequence *)(op))->ob_item[i] = v)\r
-\r
-#ifdef __cplusplus\r
-}\r
-#endif\r
-#endif /* !Py_STRUCTSEQ_H */\r