diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-29 22:35:39 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-29 22:35:39 (GMT) |
commit | a22e8bdfd92cd4f1bc3d60e91df6410c4efde6a0 (patch) | |
tree | 8f865b488f65ff8bab485bafe1cdd8516a65c679 /Include/listobject.h | |
parent | 513b2ac76c1f56f5a6e0d07fee57d823819ee873 (diff) | |
download | cpython-a22e8bdfd92cd4f1bc3d60e91df6410c4efde6a0.zip cpython-a22e8bdfd92cd4f1bc3d60e91df6410c4efde6a0.tar.gz cpython-a22e8bdfd92cd4f1bc3d60e91df6410c4efde6a0.tar.bz2 |
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/listobject.h')
-rw-r--r-- | Include/listobject.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/listobject.h b/Include/listobject.h index e8b192a..d395889 100644 --- a/Include/listobject.h +++ b/Include/listobject.h @@ -39,6 +39,9 @@ typedef struct { } PyListObject; PyAPI_DATA(PyTypeObject) PyList_Type; +PyAPI_DATA(PyTypeObject) PyListIter_Type; +PyAPI_DATA(PyTypeObject) PyListRevIter_Type; +PyAPI_DATA(PyTypeObject) PySortWrapper_Type; #define PyList_Check(op) \ PyType_FastSubclass(Py_Type(op), Py_TPFLAGS_LIST_SUBCLASS) |