From a22e8bdfd92cd4f1bc3d60e91df6410c4efde6a0 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 29 Nov 2007 22:35:39 +0000 Subject: 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. --- Include/stringobject.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Include/stringobject.h') diff --git a/Include/stringobject.h b/Include/stringobject.h index 8241f1e52d..184bcdd334 100644 --- a/Include/stringobject.h +++ b/Include/stringobject.h @@ -40,6 +40,7 @@ typedef struct { } PyStringObject; PyAPI_DATA(PyTypeObject) PyString_Type; +PyAPI_DATA(PyTypeObject) PyStringIter_Type; #define PyString_Check(op) \ PyType_FastSubclass(Py_Type(op), Py_TPFLAGS_STRING_SUBCLASS) -- cgit v1.2.1