From 2576c97f529009514501e53eae9351487dd7c149 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sat, 29 Oct 2005 02:33:18 +0000 Subject: [PATCH] _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 ;-). --- Include/unicodeobject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index b5341875e6..78e80c7d24 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( -- 2.40.0