diff Include/iterobject.h @ 44061:0cc552ab76bd

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.
author Christian Heimes <christian@cheimes.de>
date Thu, 29 Nov 2007 22:35:39 +0000
parents e70cdce0e8b2
children 86a2679dca46
line wrap: on
line diff
--- a/Include/iterobject.h	Thu Nov 29 18:48:53 2007 +0000
+++ b/Include/iterobject.h	Thu Nov 29 22:35:39 2007 +0000
@@ -6,12 +6,14 @@
 #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)