0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 08:20:55 +01:00
cpython/Include/internal/pycore_range.h
2022-11-30 23:04:30 +02:00

22 lines
346 B
C

#ifndef Py_INTERNAL_RANGE_H
#define Py_INTERNAL_RANGE_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef Py_BUILD_CORE
# error "this header requires Py_BUILD_CORE define"
#endif
typedef struct {
PyObject_HEAD
long start;
long step;
long len;
} _PyRangeIterObject;
#ifdef __cplusplus
}
#endif
#endif /* !Py_INTERNAL_RANGE_H */