summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-03-26 13:06:51 +0100
committerBruno Haible <bruno@clisp.org>2011-03-26 13:06:51 +0100
commitd21d53bde06e6d7ebdf9c0a1a74255204fde1252 (patch)
tree14f8310c86d7bb79fe52eaf19d984abaa454dfbe /doc
parentebe5d182f5227a55c022aacd5bc44a8ccc21f269 (diff)
downloadlibunistring-d21d53bde06e6d7ebdf9c0a1a74255204fde1252.tar.gz
Support long names of bidi classes.
Diffstat (limited to 'doc')
-rw-r--r--doc/unictype.texi11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/unictype.texi b/doc/unictype.texi
index 90b372f..48aa43c 100644
--- a/doc/unictype.texi
+++ b/doc/unictype.texi
@@ -600,12 +600,19 @@ category and its name.
@deftypefun {const char *} uc_bidi_class_name (int @var{bidi_class})
@deftypefunx {const char *} uc_bidi_category_name (int @var{category})
-Returns the name of a bidi class.
+Returns the name of a bidi class, more precisely, the abbreviated name.
+@end deftypefun
+
+@deftypefun {const char *} uc_bidi_class_long_name (int @var{bidi_class})
+Returns the long name of a bidi class.
@end deftypefun
@deftypefun int uc_bidi_class_byname (const char *@var{bidi_class_name})
@deftypefunx int uc_bidi_category_byname (const char *@var{category_name})
-Returns the bidi class given by name, e.g@. @code{"LRE"}.
+Returns the bidi class given by name, e.g@. @code{"LRE"}, or by long name,
+e.g@. @code{"Left-to-Right Embedding"}.
+This lookup ignores spaces, underscores, or hyphens as word separators and is
+case-insignificant.
@end deftypefun
The following functions view bidirectional categories as sets of Unicode