diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-29 22:35:39 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-29 22:35:39 +0000 |
commit | ad8d26aec72fc57758237b8cfbbc8f36051c6e9a (patch) | |
tree | 06b47ca3eb21f4c4b7b228a3cd913ea79e91b355 /Include/iterobject.h | |
parent | a5d6346b168a34f49a77de6e252756f7f3197177 (diff) | |
download | cpython-ad8d26aec72fc57758237b8cfbbc8f36051c6e9a.tar.gz |
Added all PyTypeObjects to the appropriate header files.
Before the patch a lot of internal types weren't available in the header files. The patch exposes the new iterators, views and some other types to all C modules. I've also renamed some of the types and tp_names.
Diffstat (limited to 'Include/iterobject.h')
-rw-r--r-- | Include/iterobject.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/iterobject.h b/Include/iterobject.h index 12853b4146..ba1b482fc7 100644 --- a/Include/iterobject.h +++ b/Include/iterobject.h @@ -6,12 +6,14 @@ extern "C" { #endif PyAPI_DATA(PyTypeObject) PySeqIter_Type; +PyAPI_DATA(PyTypeObject) PyCallIter_Type; +PyAPI_DATA(PyTypeObject) PyZipIter_Type; +PyAPI_DATA(PyTypeObject) PyCmpWrapper_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) |