From 40496a54a03864c5e6a1224c18b4b93a1f578eed Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 27 Oct 2018 02:49:32 -0700 Subject: [PATCH] [name] Move HB_NAME_ID_INVALID into the enum Don't know how to document anonymous enum members. --- src/hb-ot-name.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-ot-name.h b/src/hb-ot-name.h index 9cb6f5a1b..d39b70382 100644 --- a/src/hb-ot-name.h +++ b/src/hb-ot-name.h @@ -52,8 +52,6 @@ typedef unsigned int hb_name_id_t; * * Since: 2.0.0 **/ -#define HB_NAME_ID_INVALID 0xFFFF - enum { HB_NAME_ID_COPYRIGHT = 0, HB_NAME_ID_FONT_FAMILY = 1, @@ -80,7 +78,9 @@ enum { HB_NAME_ID_WWS_SUBFAMILY = 22, HB_NAME_ID_LIGHT_BACKGROUND = 23, HB_NAME_ID_DARK_BACKGROUND = 24, - HB_NAME_ID_VARIATIONS_PS_PREFIX = 25 + HB_NAME_ID_VARIATIONS_PS_PREFIX = 25, + + HB_NAME_ID_INVALID = 0xFFFF };