From d21d53bde06e6d7ebdf9c0a1a74255204fde1252 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 26 Mar 2011 13:06:51 +0100 Subject: Support long names of bidi classes. --- doc/unictype.texi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'doc') 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 -- cgit v1.2.1