]> sourceware.org Git - newlib-cygwin.git/commit
* libc/string/local.h: New file.
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 15 May 2009 11:40:28 +0000 (11:40 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 15 May 2009 11:40:28 +0000 (11:40 +0000)
commit098a75dc51caa98f369d98a9809d773bc45329aa
treea441415fa099d4397975c99da216e6c928f67055
parent73535010d72d1a7d46e4f5c6c98f41fab90df489
* libc/string/local.h: New file.
* libc/string/wcswidth.c (wcswidth):  Convert japanese wide
characters to Unicode here.  Handle surrogate pairs for UTF-16
systems.  Call __wcwidth rather than wcwidth.
* libc/string/wcwidth.c: New implementation using Markus Kuhn's
wcwidth implementation for Unicode.
(bisearch): New static function.
(__wcwidth): New function.  Take wint_t rather than wchar_t as
parameter to allow full Unicode handling on UTF-16 systems.
Move old wcwidth implementation here for non-multibyte aware
systems.
(wcwidth): Convert japanese wide characters to Unicode here.
Call __wcwidth rather than using iswprint/iswcntrl.
newlib/ChangeLog
newlib/libc/string/local.h [new file with mode: 0644]
newlib/libc/string/wcswidth.c
newlib/libc/string/wcwidth.c
This page took 0.032787 seconds and 5 git commands to generate.