diff options
author | Tim Peters <tim.peters@gmail.com> | 2005-10-29 02:33:18 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2005-10-29 02:33:18 (GMT) |
commit | 2576c97f529009514501e53eae9351487dd7c149 (patch) | |
tree | f2acd12676de4dbda64ef35e0282aafab06e0169 /Include | |
parent | 00b5c932f3003765d8b322820122dee20cb68057 (diff) | |
download | cpython-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.h | 4 |
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( |