[Python-checkins] commit of r41347 - python/trunk/Include
tim.peters@python.org
tim.peters at python.org
Sat Oct 29 04:33:18 CEST 2005
Author: tim.peters
Date: Sat Oct 29 04:33:18 2005
New Revision: 41347
Modified:
python/trunk/Include/unicodeobject.h
Log:
_PyUnicode_IsWhitespace(),
_PyUnicode_IsLinebreak():
Changed the declarations to match the definitions.
Don't know why they differed; MSVC warned about it;
don't know why only these two functions use "const".
Someone who does may want to do something saner ;-).
Modified: python/trunk/Include/unicodeobject.h
==============================================================================
--- python/trunk/Include/unicodeobject.h (original)
+++ python/trunk/Include/unicodeobject.h Sat Oct 29 04:33:18 2005
@@ -1152,11 +1152,11 @@
);
PyAPI_FUNC(int) _PyUnicode_IsWhitespace(
- Py_UNICODE ch /* Unicode character */
+ const Py_UNICODE ch /* Unicode character */
);
PyAPI_FUNC(int) _PyUnicode_IsLinebreak(
- Py_UNICODE ch /* Unicode character */
+ const Py_UNICODE ch /* Unicode character */
);
PyAPI_FUNC(Py_UNICODE) _PyUnicode_ToLowercase(
More information about the Python-checkins
mailing list