Staging
v0.5.1
https://github.com/python/cpython
Revision 725bfd8489e444aedd8dfd686a27ffc308657155 authored by Mark Dickinson on 03 May 2009, 20:33:40 UTC, committed by Mark Dickinson on 03 May 2009, 20:33:40 UTC
PyOS_double_to_string, and deprecate PyOS_ascii_strtod and PyOS_ascii_atof.
1 parent 75930f8
Raw File
Tip revision: 725bfd8489e444aedd8dfd686a27ffc308657155 authored by Mark Dickinson on 03 May 2009, 20:33:40 UTC
Issue #5914: Add new C-API function PyOS_string_to_double, to complement
Tip revision: 725bfd8
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;
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 *);

#ifdef __cplusplus
}
#endif
#endif /* !Py_ITEROBJECT_H */

back to top