diff options
author | Steven G. Johnson <stevenj@mit.edu> | 2018-07-24 13:25:51 -0400 |
---|---|---|
committer | Steven G. Johnson <stevenj@mit.edu> | 2018-07-24 13:25:51 -0400 |
commit | e0295be467d15e7abec2af275bcca30dc816bc9e (patch) | |
tree | 370dcfc22d38a3ed302c1beeafa2ee5bf1b52db7 /utf8proc.h | |
parent | 98e5529a0a6cd4dd09a8885029253f26c677c85f (diff) | |
parent | d4a58cfec5345bbb2bb0db1e85172a8cff278da7 (diff) | |
download | libutf8proc-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.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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; /** |