Add Emoji_Component support from emoji-data.txt.

This commit is contained in:
Reece H. Dunn
2017-06-25 15:51:37 +01:00
parent 18d3a0819a
commit 1cb4115eab
3 changed files with 9 additions and 6 deletions
+2
View File
@@ -370,6 +370,7 @@ typedef uint64_t ucd_property;
#define UCD_PROPERTY_EMOJI_MODIFIER 0x0000000800000000ull /**< @brief Emoji_Modifier */
#define UCD_PROPERTY_EMOJI_MODIFIER_BASE 0x0000001000000000ull /**< @brief Emoji_Modifier_Base */
#define UCD_PROPERTY_REGIONAL_INDICATOR 0x0000002000000000ull /**< @brief Regional_Indicator */
#define UCD_PROPERTY_EMOJI_COMPONENT 0x0000004000000000ull /**< @brief Emoji_Component */
/** @brief Return the properties of the specified codepoint.
*
@@ -870,6 +871,7 @@ namespace ucd
Emoji_Modifier = UCD_PROPERTY_EMOJI_MODIFIER, /**< @brief Emoji_Modifier */
Emoji_Modifier_Base = UCD_PROPERTY_EMOJI_MODIFIER_BASE, /**< @brief Emoji_Modifier_Base */
Regional_Indicator = UCD_PROPERTY_REGIONAL_INDICATOR, /**< @brief Regional_Indicator */
Emoji_Component = UCD_PROPERTY_EMOJI_COMPONENT, /**< @brief Emoji_Component */
};
/** @brief Return the properties of the specified codepoint.