From 84dacbca7ea54a3ca2d5d711d50272a7f3baf456 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 24 Nov 2018 12:08:36 -0500 Subject: [PATCH] [aat.feat] Add _MAX_VALUE to enums --- src/hb-aat-layout.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/hb-aat-layout.h b/src/hb-aat-layout.h index f72cf79..8bd4af2 100644 --- a/src/hb-aat-layout.h +++ b/src/hb-aat-layout.h @@ -83,7 +83,9 @@ typedef enum HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE = 37, HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE = 38, HB_AAT_LAYOUT_FEATURE_TYPE_LANGUAGE_TAG_TYPE = 39, - HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE = 103 + HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE = 103, + + _HB_AAT_LAYOUT_FEATURE_TYPE_MAX_VALUE= 0x7FFFFFFFu, /*< skip >*/ } hb_aat_layout_feature_type_t; /** @@ -420,7 +422,9 @@ typedef enum HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_CJK_ROMAN = 0, HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_CJK_ROMAN = 1, HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_CJK_ROMAN = 2, - HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_CJK_ROMAN = 3 + HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_CJK_ROMAN = 3, + + _HB_AAT_LAYOUT_FEATURE_SELECTOR_MAX_VALUE= 0x7FFFFFFFu, /*< skip >*/ } hb_aat_layout_feature_selector_t; HB_EXTERN unsigned int -- 2.7.4