[pywin32-checkins] pywin32/win32/src PyUnicode.cpp,1.33,1.34
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-02-03 05:22:30
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23991 Modified Files: PyUnicode.cpp Log Message: Try and use c++ comment markers in c++ code :) Index: PyUnicode.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/PyUnicode.cpp,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** PyUnicode.cpp 3 Feb 2009 05:02:59 -0000 1.33 --- PyUnicode.cpp 3 Feb 2009 05:22:25 -0000 1.34 *************** *** 297,301 **** int resultLen = 0; #if (PY_VERSION_HEX < 0x03000000) ! # Do NOT accept 'bytes' object when a plain 'WCHAR' is needed on py3k. if (PyString_Check(stringObject)) { int size=PyString_Size(stringObject); --- 297,301 ---- int resultLen = 0; #if (PY_VERSION_HEX < 0x03000000) ! // Do NOT accept 'bytes' object when a plain 'WCHAR' is needed on py3k. if (PyString_Check(stringObject)) { int size=PyString_Size(stringObject); |