X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/a0b4f637ba1a6c3c5651b61a69303b029bacf7d3..2ca993e82fb37b597a3c73ecd1586a139a6579c5:/icuSources/common/uprops.h diff --git a/icuSources/common/uprops.h b/icuSources/common/uprops.h index 56ffb857..d45fc6c7 100644 --- a/icuSources/common/uprops.h +++ b/icuSources/common/uprops.h @@ -1,7 +1,7 @@ /* ******************************************************************************* * -* Copyright (C) 2002-2012, International Business Machines +* Copyright (C) 2002-2016, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -187,13 +187,21 @@ enum { /* * Properties in vector word 2 * Bits - * 31..26 reserved + * 31..28 http://www.unicode.org/reports/tr51/#Emoji_Properties + * 27..26 reserved * 25..20 Line Break * 19..15 Sentence Break * 14..10 Word Break * 9.. 5 Grapheme Cluster Break * 4.. 0 Decomposition Type */ +enum { + UPROPS_2_EMOJI=28, + UPROPS_2_EMOJI_PRESENTATION, + UPROPS_2_EMOJI_MODIFIER, + UPROPS_2_EMOJI_MODIFIER_BASE +}; + #define UPROPS_LB_MASK 0x03f00000 #define UPROPS_LB_SHIFT 20