summaryrefslogtreecommitdiff
path: root/utf8proc.h
diff options
context:
space:
mode:
authorSteven G. Johnson <stevenj@mit.edu>2018-07-24 13:25:51 -0400
committerSteven G. Johnson <stevenj@mit.edu>2018-07-24 13:25:51 -0400
commite0295be467d15e7abec2af275bcca30dc816bc9e (patch)
tree370dcfc22d38a3ed302c1beeafa2ee5bf1b52db7 /utf8proc.h
parent98e5529a0a6cd4dd09a8885029253f26c677c85f (diff)
parentd4a58cfec5345bbb2bb0db1e85172a8cff278da7 (diff)
downloadlibutf8proc-e0295be467d15e7abec2af275bcca30dc816bc9e.tar.gz
libutf8proc-e0295be467d15e7abec2af275bcca30dc816bc9e.tar.bz2
Merge branch 'master' of https://github.com/JuliaLang/utf8proc
Diffstat (limited to 'utf8proc.h')
-rw-r--r--utf8proc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/utf8proc.h b/utf8proc.h
index 21e59c6..6e2ac62 100644
--- a/utf8proc.h
+++ b/utf8proc.h
@@ -382,10 +382,18 @@ typedef enum {
UTF8PROC_BOUNDCLASS_SPACINGMARK = 12, /**< Spacingmark */
UTF8PROC_BOUNDCLASS_PREPEND = 13, /**< Prepend */
UTF8PROC_BOUNDCLASS_ZWJ = 14, /**< Zero Width Joiner */
+
+ /* the following are no longer used in Unicode 11, but we keep
+ the constants here for backward compatibility */
UTF8PROC_BOUNDCLASS_E_BASE = 15, /**< Emoji Base */
UTF8PROC_BOUNDCLASS_E_MODIFIER = 16, /**< Emoji Modifier */
UTF8PROC_BOUNDCLASS_GLUE_AFTER_ZWJ = 17, /**< Glue_After_ZWJ */
UTF8PROC_BOUNDCLASS_E_BASE_GAZ = 18, /**< E_BASE + GLUE_AFTER_ZJW */
+
+ /* the Extended_Pictographic property is used in the Unicode 11
+ grapheme-boundary rules, so we store it in the boundclass field */
+ UTF8PROC_BOUNDCLASS_EXTENDED_PICTOGRAPHIC = 19,
+ UTF8PROC_BOUNDCLASS_E_ZWG = 20, /* UTF8PROC_BOUNDCLASS_EXTENDED_PICTOGRAPHIC + ZWJ */
} utf8proc_boundclass_t;
/**