Update of /cvsroot/pywin32/pywin32/com/win32com/src/extensions
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1177/com/win32com/src/extensions
Modified Files:
PyFUNCDESC.cpp PySTGMEDIUM.cpp PyTYPEATTR.cpp PyVARDESC.cpp
Log Message:
Many 'benign' changes from the py3k branch, mainly around using
PYWIN_OBJECT_HEAD and whitespace related changes around the type defs.
Index: PyTYPEATTR.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/extensions/PyTYPEATTR.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** PyTYPEATTR.cpp 24 May 2007 06:01:04 -0000 1.3
--- PyTYPEATTR.cpp 3 Dec 2008 22:34:20 -0000 1.4
***************
*** 49,69 ****
PyTypeObject PyTYPEATTR::Type =
{
! PyObject_HEAD_INIT(&PyType_Type)
! 0,
"PyTYPEATTR",
sizeof(PyTYPEATTR),
0,
! PyTYPEATTR::deallocFunc, /* tp_dealloc */
! 0, /* tp_print */
PyTYPEATTR::getattr, /* tp_getattr */
PyTYPEATTR::setattr, /* tp_setattr */
! 0, /* tp_compare */
0, /* tp_repr */
0, /* tp_as_number */
&PyTYPEATTR_Sequence, /* tp_as_sequence */
0, /* tp_as_mapping */
! 0,
0, /* tp_call */
! 0, /* tp_str */
};
--- 49,68 ----
PyTypeObject PyTYPEATTR::Type =
{
! PYWIN_OBJECT_HEAD
"PyTYPEATTR",
sizeof(PyTYPEATTR),
0,
! PyTYPEATTR::deallocFunc, /* tp_dealloc */
! 0, /* tp_print */
PyTYPEATTR::getattr, /* tp_getattr */
PyTYPEATTR::setattr, /* tp_setattr */
! 0, /* tp_compare */
0, /* tp_repr */
0, /* tp_as_number */
&PyTYPEATTR_Sequence, /* tp_as_sequence */
0, /* tp_as_mapping */
! 0, /* tp_hash */
0, /* tp_call */
! 0, /* tp_str */
};
Index: PySTGMEDIUM.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/extensions/PySTGMEDIUM.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** PySTGMEDIUM.cpp 26 Nov 2008 01:19:25 -0000 1.9
--- PySTGMEDIUM.cpp 3 Dec 2008 22:34:20 -0000 1.10
***************
*** 106,126 ****
PyTypeObject PySTGMEDIUM::Type =
{
! PyObject_HEAD_INIT(&PyType_Type)
! 0,
"PySTGMEDIUM",
sizeof(PySTGMEDIUM),
0,
PySTGMEDIUM::deallocFunc, /* tp_dealloc */
! 0, /* tp_print */
PySTGMEDIUM::getattr, /* tp_getattr */
! 0, /* tp_setattr */
! 0, /* tp_compare */
0, /* tp_repr */
0, /* tp_as_number */
! 0, /* tp_as_sequence */
0, /* tp_as_mapping */
! 0,
0, /* tp_call */
! 0, /* tp_str */
};
--- 106,125 ----
PyTypeObject PySTGMEDIUM::Type =
{
! PYWIN_OBJECT_HEAD
"PySTGMEDIUM",
sizeof(PySTGMEDIUM),
0,
PySTGMEDIUM::deallocFunc, /* tp_dealloc */
! 0, /* tp_print */
PySTGMEDIUM::getattr, /* tp_getattr */
! 0, /* tp_setattr */
! 0, /* tp_compare */
0, /* tp_repr */
0, /* tp_as_number */
! 0, /* tp_as_sequence */
0, /* tp_as_mapping */
! 0, /* tp_hash */
0, /* tp_call */
! 0, /* tp_str */
};
Index: PyVARDESC.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/extensions/PyVARDESC.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** PyVARDESC.cpp 1 Jul 2008 01:22:14 -0000 1.6
--- PyVARDESC.cpp 3 Dec 2008 22:34:21 -0000 1.7
***************
*** 96,116 ****
PyTypeObject PyVARDESC::Type =
{
! PyObject_HEAD_INIT(&PyType_Type)
! 0,
"PyVARDESC",
sizeof(PyVARDESC),
0,
PyVARDESC::deallocFunc, /* tp_dealloc */
! 0, /* tp_print */
PyVARDESC::getattr, /* tp_getattr */
PyVARDESC::setattr, /* tp_setattr */
! 0, /* tp_compare */
0, /* tp_repr */
0, /* tp_as_number */
&PyVARDESC_Sequence, /* tp_as_sequence */
0, /* tp_as_mapping */
! 0,
0, /* tp_call */
! 0, /* tp_str */
};
--- 96,115 ----
PyTypeObject PyVARDESC::Type =
{
! PYWIN_OBJECT_HEAD
"PyVARDESC",
sizeof(PyVARDESC),
0,
PyVARDESC::deallocFunc, /* tp_dealloc */
! 0, /* tp_print */
PyVARDESC::getattr, /* tp_getattr */
PyVARDESC::setattr, /* tp_setattr */
! 0, /* tp_compare */
0, /* tp_repr */
0, /* tp_as_number */
&PyVARDESC_Sequence, /* tp_as_sequence */
0, /* tp_as_mapping */
! 0, /* tp_hash */
0, /* tp_call */
! 0, /* tp_str */
};
Index: PyFUNCDESC.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/extensions/PyFUNCDESC.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** PyFUNCDESC.cpp 24 May 2007 06:01:04 -0000 1.2
--- PyFUNCDESC.cpp 3 Dec 2008 22:34:20 -0000 1.3
***************
*** 122,142 ****
PyTypeObject PyFUNCDESC::Type =
{
! PyObject_HEAD_INIT(&PyType_Type)
! 0,
"PyFUNCDESC",
sizeof(PyFUNCDESC),
0,
PyFUNCDESC::deallocFunc, /* tp_dealloc */
! 0, /* tp_print */
PyFUNCDESC::getattr, /* tp_getattr */
PyFUNCDESC::setattr, /* tp_setattr */
! 0, /* tp_compare */
0, /* tp_repr */
0, /* tp_as_number */
&PyFUNCDESC_Sequence, /* tp_as_sequence */
0, /* tp_as_mapping */
! 0,
0, /* tp_call */
! 0, /* tp_str */
};
--- 122,141 ----
PyTypeObject PyFUNCDESC::Type =
{
! PYWIN_OBJECT_HEAD
"PyFUNCDESC",
sizeof(PyFUNCDESC),
0,
PyFUNCDESC::deallocFunc, /* tp_dealloc */
! 0, /* tp_print */
PyFUNCDESC::getattr, /* tp_getattr */
PyFUNCDESC::setattr, /* tp_setattr */
! 0, /* tp_compare */
0, /* tp_repr */
0, /* tp_as_number */
&PyFUNCDESC_Sequence, /* tp_as_sequence */
0, /* tp_as_mapping */
! 0, /* tp_hash */
0, /* tp_call */
! 0, /* tp_str */
};
|