X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funictype.in.h;h=19faea12c057cfd43cc0321ab238fb26a6ede441;hb=07809063056aef043ba738ab8229042f1ffc9659;hp=b25a46198da93ef6e2f061d7bf1e9b1d72a475a1;hpb=6483be121e361537bccfee8ca766912f61c3df6c;p=gnulib.git diff --git a/lib/unictype.in.h b/lib/unictype.in.h index b25a46198..19faea12c 100644 --- a/lib/unictype.in.h +++ b/lib/unictype.in.h @@ -207,7 +207,12 @@ extern uc_general_category_t extern const char * uc_general_category_name (uc_general_category_t category); -/* Return the general category given by name, e.g. "Lu". */ +/* Return the long name of a general category. */ +extern const char * + uc_general_category_long_name (uc_general_category_t category); + +/* 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); @@ -240,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 */ @@ -258,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. @@ -293,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. */ @@ -391,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);