Update of /cvsroot/pywin32/pywin32/com/win32comext/shell/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20650/com/win32comext/shell/src
Modified Files:
shell.cpp
Log Message:
Define PY_SSIZE_T_CLEAN
Index: shell.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/src/shell.cpp,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** shell.cpp 30 May 2007 00:54:44 -0000 1.54
--- shell.cpp 2 Jun 2007 08:18:27 -0000 1.55
***************
*** 47,50 ****
--- 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
|