diff options
author | Bruno Haible <bruno@clisp.org> | 2011-03-26 13:53:56 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-03-26 13:53:56 +0100 |
commit | c060bc5d6083b9506898771e5443c22b8ae1c5e1 (patch) | |
tree | 7597be5300e565dc73c10f96372686c189dfa165 | |
parent | 5d8b1b825933e607a6b4ecb36702b5cd0ccd6962 (diff) | |
download | libunistring-c060bc5d6083b9506898771e5443c22b8ae1c5e1.tar.gz |
Support long names of joining types.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | doc/unictype.texi | 9 |
3 files changed, 17 insertions, 2 deletions
@@ -1,7 +1,14 @@ 2011-03-26 Bruno Haible <bruno@clisp.org> + Support long names of joining types. + * doc/unictype.texi (Joining type): Document + uc_joining_type_long_name. Mention that uc_joining_type_byname + recognizes long names. + +2011-03-26 Bruno Haible <bruno@clisp.org> + Support long names of bidi classes. - * doc/unictype.texi (Object oriented API): Document + * doc/unictype.texi (Bidi class): Document uc_bidi_class_long_name. Mention that uc_bidi_class_byname recognizes long names. @@ -11,6 +11,7 @@ New in 0.9.4: * In the include file unictype.h, functions for the Arabic joining type and the Arabic joining group have been added: uc_joining_type_name + uc_joining_type_long_name uc_joining_type_byname uc_joining_type uc_joining_group_name diff --git a/doc/unictype.texi b/doc/unictype.texi index 378f43f..0215b96 100644 --- a/doc/unictype.texi +++ b/doc/unictype.texi @@ -763,8 +763,15 @@ and its name. Returns the name of a joining type. @end deftypefun +@deftypefun {const char *} uc_joining_type_long_name (int @var{joining_type}) +Returns the long name of a joining type. +@end deftypefun + @deftypefun int uc_joining_type_byname (const char *@var{joining_type_name}) -Returns the joining type given by name, e.g.@ @code{"D"}. +Returns the joining type given by name, e.g@. @code{"D"}, or by long name, +e.g@. @code{"Dual Joining}. +This lookup ignores spaces, underscores, or hyphens as word separators and is +case-insignificant. @end deftypefun The following function gives the joining type of every Unicode character. |