unictype/bidiclass-byname: Recognize long names as well.
authorBruno Haible <bruno@clisp.org>
Sat, 26 Mar 2011 11:49:04 +0000 (12:49 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 26 Mar 2011 11:49:04 +0000 (12:49 +0100)
* lib/unictype.in.h (uc_bidi_class_byname): Allow argument to be a long
name.
* lib/unictype/bidi_byname.c: Include <string.h>,
unictype/bidi_byname.h.
(uc_bidi_class_byname): Use uc_bidi_class_lookup.
* lib/unictype/bidi_byname.gperf: New file.
* modules/unictype/bidiclass-byname (Files): Add
lib/unictype/bidi_byname.gperf.
(Depends-on): Add gperf.
(Makefile.am): Add rule for generating unictype/bidi_byname.h.
* tests/unictype/test-bidi_byname.c (main): Test the recognition of
long names.


No differences found