2002-03-30 04:57:12 -04:00
|
|
|
#ifndef Py_ITEROBJECT_H
|
|
|
|
#define Py_ITEROBJECT_H
|
2001-04-20 18:06:46 -03:00
|
|
|
/* Iterators (the basic kind, over a sequence) */
|
2002-03-30 04:57:12 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2001-04-20 18:06:46 -03:00
|
|
|
|
2002-08-12 04:21:58 -03:00
|
|
|
PyAPI_DATA(PyTypeObject) PySeqIter_Type;
|
2001-04-20 18:06:46 -03:00
|
|
|
|
2001-04-23 11:08:49 -03:00
|
|
|
#define PySeqIter_Check(op) ((op)->ob_type == &PySeqIter_Type)
|
2001-04-20 18:06:46 -03:00
|
|
|
|
2002-08-12 04:21:58 -03:00
|
|
|
PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *);
|
2001-04-20 18:06:46 -03:00
|
|
|
|
2002-08-12 04:21:58 -03:00
|
|
|
PyAPI_DATA(PyTypeObject) PyCallIter_Type;
|
2001-04-20 18:06:46 -03:00
|
|
|
|
|
|
|
#define PyCallIter_Check(op) ((op)->ob_type == &PyCallIter_Type)
|
|
|
|
|
2002-08-12 04:21:58 -03:00
|
|
|
PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *);
|
2006-08-25 20:26:40 -03:00
|
|
|
|
|
|
|
PyObject* _PyZip_CreateIter(PyObject* args);
|
|
|
|
|
2002-03-30 04:57:12 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_ITEROBJECT_H */
|
|
|
|
|