Update of /cvsroot/pywin32/pywin32/com/win32com/src/include
In directory sc8-pr-cvs1:/tmp/cvs-serv29361/include
Modified Files:
PythonCOM.h
Log Message:
Allow the PyIEnum* interfaces to act as iterators. Only the new
win32com.shell.shell interfaces take advantage of this.
Index: PythonCOM.h
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/include/PythonCOM.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** PythonCOM.h 20 Jan 2003 23:19:14 -0000 1.9
--- PythonCOM.h 6 Oct 2003 13:09:44 -0000 1.10
***************
*** 165,168 ****
--- 165,170 ----
virtual PyObject *repr();
virtual int compare(PyObject *other) {return (int)this-int(other);}
+ virtual PyObject *iter();
+ virtual PyObject *iternext();
static struct PyMethodDef PyIBase::empty_methods[];
***************
*** 179,183 ****
static int setattr(PyObject *op, char *name, PyObject *v);
static int cmp(PyObject *ob1, PyObject *ob2);
!
};
--- 181,186 ----
static int setattr(PyObject *op, char *name, PyObject *v);
static int cmp(PyObject *ob1, PyObject *ob2);
! static PyObject *iter(PyObject *self);
! static PyObject *iternext(PyObject *self);
};
|