Staging
v0.5.1
Revision b2742ba5f9ce8a6108202e0645662f2b58da423b authored by Serhiy Storchaka on 05 December 2018, 22:02:10 UTC, committed by GitHub on 05 December 2018, 22:02:10 UTC
(cherry picked from commit 67a93b3a0b3814e97ef9d077b21325fc8ce351b2)
1 parent abe74fe
Raw File
iterobject.h
#ifndef Py_ITEROBJECT_H
#define Py_ITEROBJECT_H
/* Iterators (the basic kind, over a sequence) */
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_DATA(PyTypeObject) PySeqIter_Type;

#define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type)

PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *);

PyAPI_DATA(PyTypeObject) PyCallIter_Type;

#define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type)

PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *);
#ifdef __cplusplus
}
#endif
#endif /* !Py_ITEROBJECT_H */

back to top