mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 03:53:33 +00:00
fa20edc44d
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
21 lines
500 B
C
21 lines
500 B
C
#ifndef Py_ITEROBJECT_H
|
|
#define Py_ITEROBJECT_H
|
|
#include "third_party/python/Include/object.h"
|
|
COSMOPOLITAN_C_START_
|
|
|
|
extern PyTypeObject PySeqIter_Type;
|
|
extern PyTypeObject PyCallIter_Type;
|
|
extern PyTypeObject PyCmpWrapper_Type;
|
|
|
|
#define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type)
|
|
|
|
PyObject * PySeqIter_New(PyObject *);
|
|
|
|
|
|
#define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type)
|
|
|
|
PyObject * PyCallIter_New(PyObject *, PyObject *);
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !Py_ITEROBJECT_H */
|
|
|