Update of /cvsroot/pywin32/pywin32/win32/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21341
Modified Files:
PyWinTypesmodule.cpp
Log Message:
Have pywintypes.OVERLAPPEDType point at the correct type (it used to refer
to the HANDLE type!) Thanks to Troels Walsted Hansen for noticing.
Index: PyWinTypesmodule.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/PyWinTypesmodule.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** PyWinTypesmodule.cpp 27 Dec 2006 04:41:14 -0000 1.23
--- PyWinTypesmodule.cpp 4 Feb 2007 22:11:11 -0000 1.24
***************
*** 647,651 ****
#endif
PyDict_SetItemString(dict, "HANDLEType", (PyObject *)&PyHANDLEType);
! PyDict_SetItemString(dict, "OVERLAPPEDType", (PyObject *)&PyHANDLEType);
PyDict_SetItemString(dict, "DEVMODEType", (PyObject *)&PyDEVMODEType);
PyDict_SetItemString(dict, "WAVEFORMATEXType", (PyObject *)&PyWAVEFORMATEXType);
--- 647,651 ----
#endif
PyDict_SetItemString(dict, "HANDLEType", (PyObject *)&PyHANDLEType);
! PyDict_SetItemString(dict, "OVERLAPPEDType", (PyObject *)&PyOVERLAPPEDType);
PyDict_SetItemString(dict, "DEVMODEType", (PyObject *)&PyDEVMODEType);
PyDict_SetItemString(dict, "WAVEFORMATEXType", (PyObject *)&PyWAVEFORMATEXType);
|