- Notifications
You must be signed in to change notification settings - Fork 31.7k
/
Copy pathiterobject.h
24 lines (16 loc) · 525 Bytes
/
iterobject.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndefPy_ITEROBJECT_H
#definePy_ITEROBJECT_H
/* Iterators (the basic kind, over a sequence) */
#ifdef__cplusplus
extern"C" {
#endif
PyAPI_DATA(PyTypeObject) PySeqIter_Type;
PyAPI_DATA(PyTypeObject) PyCallIter_Type;
#definePySeqIter_Check(op) Py_IS_TYPE((op), &PySeqIter_Type)
PyAPI_FUNC(PyObject*) PySeqIter_New(PyObject*);
#definePyCallIter_Check(op) Py_IS_TYPE((op), &PyCallIter_Type)
PyAPI_FUNC(PyObject*) PyCallIter_New(PyObject*, PyObject*);
#ifdef__cplusplus
}
#endif
#endif/* !Py_ITEROBJECT_H */