source: vendor/python/2.5/Include/structseq.h@ 3506

Last change on this file since 3506 was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 862 bytes
RevLine 
[3225]1
2/* Tuple object interface */
3
4#ifndef Py_STRUCTSEQ_H
5#define Py_STRUCTSEQ_H
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10typedef struct PyStructSequence_Field {
11 char *name;
12 char *doc;
13} PyStructSequence_Field;
14
15typedef struct PyStructSequence_Desc {
16 char *name;
17 char *doc;
18 struct PyStructSequence_Field *fields;
19 int n_in_sequence;
20} PyStructSequence_Desc;
21
22extern char* PyStructSequence_UnnamedField;
23
24PyAPI_FUNC(void) PyStructSequence_InitType(PyTypeObject *type,
25 PyStructSequence_Desc *desc);
26