From: Tim Peters Date: Sat, 29 Oct 2005 02:33:18 +0000 (+0000) Subject: _PyUnicode_IsWhitespace(), X-Git-Tag: v2.5a0~1212 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2576c97f529009514501e53eae9351487dd7c149;p=thirdparty%2FPython%2Fcpython.git _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 ;-). --- diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index b5341875e6fc..78e80c7d24b6 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(