Update of /cvsroot/pywin32/pywin32/com/win32com/src/extensions
In directory sc8-pr-cvs1:/tmp/cvs-serv17359/extensions
Modified Files:
PyIEnumFORMATETC.cpp PyIEnumVARIANT.cpp
Log Message:
Add PyComEnumProviderTypeObject, for objects that can return (but not
actually be) an iterator.
Index: PyIEnumFORMATETC.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/extensions/PyIEnumFORMATETC.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** PyIEnumFORMATETC.cpp 23 Oct 2003 23:42:02 -0000 1.3
--- PyIEnumFORMATETC.cpp 31 Oct 2003 06:55:12 -0000 1.4
***************
*** 30,33 ****
--- 30,39 ----
}
+ PyObject *
+ PyIEnumFORMATETC::iter()
+ {
+ Py_INCREF(this);
+ return this;
+ }
PyObject *
Index: PyIEnumVARIANT.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/extensions/PyIEnumVARIANT.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** PyIEnumVARIANT.cpp 23 Oct 2003 23:42:02 -0000 1.4
--- PyIEnumVARIANT.cpp 31 Oct 2003 06:55:12 -0000 1.5
***************
*** 14,17 ****
--- 14,24 ----
PyObject *
+ PyIEnumVARIANT::iter()
+ {
+ Py_INCREF(this);
+ return this;
+ }
+
+ PyObject *
PyIEnumVARIANT::iternext()
{
|