diff options
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r-- | pango/pango-font.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h index eea27b4e..ce1a4212 100644 --- a/pango/pango-font.h +++ b/pango/pango-font.h @@ -374,10 +374,12 @@ struct _PangoFontClass #define PANGO_UNKNOWN_GLYPH_HEIGHT 14 #endif /* PANGO_ENABLE_BACKEND */ - -#define PANGO_GLYPH_EMPTY ((PangoGlyph)0x0FFFFFFF) -#define PANGO_GLYPH_INVALID_INPUT ((PangoGlyph)0xFFFFFFFF) -#define PANGO_GLYPH_UNKNOWN_FLAG ((PangoGlyph)0x10000000) +enum +{ + PANGO_GLYPH_EMPTY = ((PangoGlyph)0x0FFFFFFF), + PANGO_GLYPH_INVALID_INPUT = ((PangoGlyph)0xFFFFFFFF), + PANGO_GLYPH_UNKNOWN_FLAG = ((PangoGlyph)0x10000000), +}; #define PANGO_GET_UNKNOWN_GLYPH(wc) ((PangoGlyph)(wc)|PANGO_GLYPH_UNKNOWN_FLAG) |