[Python-Dev] New Unicode warnings
Tim Peters
tim.one@home.com
Wed, 27 Jun 2001 03:39:38 -0400
There are 3 functions now where the prototypes in unicodeobject.h don't
match the definitions in unicodeobject.c. Like, in .h,
extern DL_IMPORT(Py_UNICODE) _PyUnicode_ToTitlecase(
register const Py_UNICODE ch /* Unicode character */
);
but in .c:
Py_UNICODE _PyUnicode_ToTitlecase(register Py_UNICODE ch)
That is, they disagree about const (a silly language idea if ever there was
one <wink>).
The others (I haven't check these for the exact reason(s), but assume
they're the same deal):
_PyUnicode_ToUppercase
_PyUnicode_ToLowercase