Chris@87: #ifndef Py_ITEROBJECT_H Chris@87: #define Py_ITEROBJECT_H Chris@87: /* Iterators (the basic kind, over a sequence) */ Chris@87: #ifdef __cplusplus Chris@87: extern "C" { Chris@87: #endif Chris@87: Chris@87: PyAPI_DATA(PyTypeObject) PySeqIter_Type; Chris@87: Chris@87: #define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type) Chris@87: Chris@87: PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *); Chris@87: Chris@87: PyAPI_DATA(PyTypeObject) PyCallIter_Type; Chris@87: Chris@87: #define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type) Chris@87: Chris@87: PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *); Chris@87: #ifdef __cplusplus Chris@87: } Chris@87: #endif Chris@87: #endif /* !Py_ITEROBJECT_H */ Chris@87: