summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2005-10-29 02:33:18 (GMT)
committerTim Peters <tim.peters@gmail.com>2005-10-29 02:33:18 (GMT)
commit2576c97f529009514501e53eae9351487dd7c149 (patch)
treef2acd12676de4dbda64ef35e0282aafab06e0169 /Include
parent00b5c932f3003765d8b322820122dee20cb68057 (diff)
downloadcpython-2576c97f529009514501e53eae9351487dd7c149.zip
cpython-2576c97f529009514501e53eae9351487dd7c149.tar.gz
cpython-2576c97f529009514501e53eae9351487dd7c149.tar.bz2
_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 ;-).
Diffstat (limited to 'Include')
-rw-r--r--Include/unicodeobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index b534187..78e80c7 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -1152,11 +1152,11 @@ PyAPI_FUNC(int) _PyUnicode_IsTitlecase(
);
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(