]>
Commit | Line | Data |
---|---|---|
c8042e10 DM |
1 | #ifndef Py_ITEROBJECT_H\r |
2 | #define Py_ITEROBJECT_H\r | |
3 | /* Iterators (the basic kind, over a sequence) */\r | |
4 | #ifdef __cplusplus\r | |
5 | extern "C" {\r | |
6 | #endif\r | |
7 | \r | |
8 | PyAPI_DATA(PyTypeObject) PySeqIter_Type;\r | |
9 | \r | |
10 | #define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type)\r | |
11 | \r | |
12 | PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *);\r | |
13 | \r | |
14 | PyAPI_DATA(PyTypeObject) PyCallIter_Type;\r | |
15 | \r | |
16 | #define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type)\r | |
17 | \r | |
18 | PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *);\r | |
19 | #ifdef __cplusplus\r | |
20 | }\r | |
21 | #endif\r | |
22 | #endif /* !Py_ITEROBJECT_H */\r | |
23 | \r |