projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unictype/joiningtype-byname: Recognize long names as well.
[gnulib.git]
/
lib
/
unictype.in.h
diff --git
a/lib/unictype.in.h
b/lib/unictype.in.h
index
293e18f
..
19faea1
100644
(file)
--- a/
lib/unictype.in.h
+++ b/
lib/unictype.in.h
@@
-272,6
+272,11
@@
extern const char *
extern const char *
uc_combining_class_long_name (int ccc);
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.
/* ========================================================================= */
/* Field 4 of Unicode Character Database: Bidi class.
@@
-307,7
+312,12
@@
extern const char *
extern const char *
uc_bidi_category_name (int category);
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. */
extern int
uc_bidi_class_byname (const char *bidi_class_name);
/* Same; obsolete function name. */
@@
-405,7
+415,12
@@
enum
extern const char *
uc_joining_type_name (int joining_type);
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);
extern int
uc_joining_type_byname (const char *joining_type_name);