[pywin32-checkins] pywin32/com/win32comext/shell/src shell.cpp, 1.55, 1.56
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2007-06-03 01:35:16
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/shell/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29476/com/win32comext/shell/src Modified Files: shell.cpp Log Message: Move PY_SSIZE_T_CLEAN to top of includes Index: shell.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/src/shell.cpp,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** shell.cpp 2 Jun 2007 08:18:27 -0000 1.55 --- shell.cpp 3 Jun 2007 01:35:16 -0000 1.56 *************** *** 13,16 **** --- 13,19 ---- ***/ + // Any python API functions that use 's#' format must use Py_ssize_t for length + #define PY_SSIZE_T_CLEAN + #include "shell_pch.h" #include "EmptyVC.h" *************** *** 47,53 **** #include "PythonCOMRegister.h" // For simpler registration of IIDs etc. - // Any python API functions that use 's#' format must use Py_ssize_t for length - #define PY_SSIZE_T_CLEAN - // We should not be using this! #define OleSetOleError PyCom_BuildPyException --- 50,53 ---- |