[pywin32-checkins] pywin32/com/win32comext/shell/src PyIEnumIDList.cpp,1.1,1.2 PyIEnumIDList.h,1.1,1
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <mha...@us...> - 2003-10-24 10:15:28
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/shell/src In directory sc8-pr-cvs1:/tmp/cvs-serv11072 Modified Files: PyIEnumIDList.cpp PyIEnumIDList.h Log Message: Move to the new iterator type. Index: PyIEnumIDList.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/src/PyIEnumIDList.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PyIEnumIDList.cpp 6 Oct 2003 12:47:57 -0000 1.1 --- PyIEnumIDList.cpp 23 Oct 2003 23:44:41 -0000 1.2 *************** *** 26,36 **** PyObject * - PyIEnumIDList::iter() - { - Py_INCREF(this); - return this; - } - - PyObject * PyIEnumIDList::iternext() { --- 26,29 ---- *************** *** 179,183 **** }; ! PyComTypeObject PyIEnumIDList::type("PyIEnumIDList", &PyIUnknown::type, sizeof(PyIEnumIDList), --- 172,176 ---- }; ! PyComEnumTypeObject PyIEnumIDList::type("PyIEnumIDList", &PyIUnknown::type, sizeof(PyIEnumIDList), Index: PyIEnumIDList.h =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/src/PyIEnumIDList.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PyIEnumIDList.h 6 Oct 2003 12:47:57 -0000 1.1 --- PyIEnumIDList.h 23 Oct 2003 23:44:41 -0000 1.2 *************** *** 10,16 **** MAKE_PYCOM_CTOR(PyIEnumIDList); static IEnumIDList *GetI(PyObject *self); ! static PyComTypeObject type; - virtual PyObject *iter(); virtual PyObject *iternext(); --- 10,15 ---- MAKE_PYCOM_CTOR(PyIEnumIDList); static IEnumIDList *GetI(PyObject *self); ! static PyComEnumTypeObject type; virtual PyObject *iternext(); |