A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-June/015620.html below:

[Python-Dev] New Unicode warnings

[Python-Dev] New Unicode warnings [Python-Dev] New Unicode warningsFredrik Lundh fredrik@pythonware.com
Wed, 27 Jun 2001 16:48:02 +0200
tim peters wrote:


> 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)

what's that "register" doing in a prototype?

any reason we cannot just change the signature(s) to

    Py_UNICODE _PyUnicode_ToTitlecase(Py_UNICODE ch)

to make it look more like contemporary C code?

</F>




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4