From 2f38dde5a1ea5459789fabaee661cae9235d204e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 4 Nov 2015 13:17:33 -0800 Subject: [PATCH] Add _hb_glyph_info_is_unicode_mark() Unused right now. --- src/hb-ot-layout-private.hh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/hb-ot-layout-private.hh b/src/hb-ot-layout-private.hh index 80a8854..8e6164e 100644 --- a/src/hb-ot-layout-private.hh +++ b/src/hb-ot-layout-private.hh @@ -267,6 +267,12 @@ _hb_glyph_info_get_general_category (const hb_glyph_info_t *info) return (hb_unicode_general_category_t) (info->unicode_props() & UPROPS_MASK_GEN_CAT); } +static inline bool +_hb_glyph_info_is_unicode_mark (const hb_glyph_info_t *info) +{ + return HB_UNICODE_GENERAL_CATEGORY_IS_MARK (info->unicode_props() & UPROPS_MASK_GEN_CAT); +} + static inline void _hb_glyph_info_set_modified_combining_class (hb_glyph_info_t *info, unsigned int modified_class) -- 2.7.4