X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funictype.in.h;h=19faea12c057cfd43cc0321ab238fb26a6ede441;hb=63ce57e7e9fff1265da4e0a4d2639483c28b6b93;hp=ebaa616ab48e1dbe0671766eee32c2909ed6979a;hpb=999c736ebb021bc282b697f630021196bacf4baa;p=gnulib.git diff --git a/lib/unictype.in.h b/lib/unictype.in.h index ebaa616ab..19faea12c 100644 --- a/lib/unictype.in.h +++ b/lib/unictype.in.h @@ -211,7 +211,8 @@ extern const char * extern const char * uc_general_category_long_name (uc_general_category_t category); -/* Return the general category given by name, e.g. "Lu". */ +/* Return the general category given by name, e.g. "Lu", or by long name, + e.g. "Uppercase Letter". */ extern uc_general_category_t uc_general_category_byname (const char *category_name); @@ -244,6 +245,7 @@ enum UC_CCC_VR = 9, /* Virama */ UC_CCC_ATBL = 200, /* Attached Below Left */ UC_CCC_ATB = 202, /* Attached Below */ + UC_CCC_ATA = 214, /* Attached Above */ UC_CCC_ATAR = 216, /* Attached Above Right */ UC_CCC_BL = 218, /* Below Left */ UC_CCC_B = 220, /* Below */ @@ -262,6 +264,19 @@ enum extern int uc_combining_class (ucs4_t uc); +/* Return the name of a canonical combining class. */ +extern const char * + uc_combining_class_name (int ccc); + +/* Return the long name of a canonical combining class. */ +extern const char * + uc_combining_class_long_name (int ccc); + +/* Return the canonical combining class given by name, e.g. "BL", or by long + name, e.g. "Below Left". */ +extern int + uc_combining_class_byname (const char *ccc_name); + /* ========================================================================= */ /* Field 4 of Unicode Character Database: Bidi class. @@ -297,7 +312,12 @@ extern const char * extern const char * uc_bidi_category_name (int category); -/* Return the bidi class given by name, e.g. "LRE". */ +/* Return the long name of a bidi class. */ +extern const char * + uc_bidi_class_long_name (int bidi_class); + +/* Return the bidi class given by name, e.g. "LRE", or by long name, e.g. + "Left-to-Right Embedding". */ extern int uc_bidi_class_byname (const char *bidi_class_name); /* Same; obsolete function name. */ @@ -395,7 +415,12 @@ enum extern const char * uc_joining_type_name (int joining_type); -/* Return the joining type given by name, e.g. "D". */ +/* Return the long name of a joining type. */ +extern const char * + uc_joining_type_long_name (int joining_type); + +/* Return the joining type given by name, e.g. "D", or by long name, e.g. + "Dual Joining". */ extern int uc_joining_type_byname (const char *joining_type_name);