2021-08-08 04:08:33 +00:00
|
|
|
#ifndef Py_ITEROBJECT_H
|
|
|
|
#define Py_ITEROBJECT_H
|
2021-08-10 17:26:13 +00:00
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
/* clang-format off */
|
2021-08-08 04:08:33 +00:00
|
|
|
|
|
|
|
PyAPI_DATA(PyTypeObject) PySeqIter_Type;
|
|
|
|
PyAPI_DATA(PyTypeObject) PyCallIter_Type;
|
|
|
|
PyAPI_DATA(PyTypeObject) PyCmpWrapper_Type;
|
|
|
|
|
|
|
|
#define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type)
|
|
|
|
|
|
|
|
PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *);
|
|
|
|
|
|
|
|
|
|
|
|
#define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type)
|
|
|
|
|
|
|
|
PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *);
|
|
|
|
|
2021-08-10 17:26:13 +00:00
|
|
|
COSMOPOLITAN_C_END_
|
2021-08-08 04:08:33 +00:00
|
|
|
#endif /* !Py_ITEROBJECT_H */
|
|
|
|
|