From fdb536bbfd1575465abf4cdfa08706685a466244 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 25 May 2009 03:30:31 -0400 Subject: [PATCH] [HB] Clean more --- pango/opentype/hb-ot-layout-private.h | 10 ++++------ pango/opentype/hb-ot-layout.cc | 8 ++++---- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/pango/opentype/hb-ot-layout-private.h b/pango/opentype/hb-ot-layout-private.h index 1a55d2d..e8ef86b 100644 --- a/pango/opentype/hb-ot-layout-private.h +++ b/pango/opentype/hb-ot-layout-private.h @@ -64,27 +64,25 @@ struct _hb_ot_layout_t }; -#define HB_OT_LAYOUT_INTERNAL static - HB_BEGIN_DECLS /* * GDEF */ -HB_OT_LAYOUT_INTERNAL hb_bool_t +HB_INTERNAL hb_bool_t _hb_ot_layout_has_new_glyph_classes (hb_ot_layout_t *layout); -HB_OT_LAYOUT_INTERNAL unsigned int +HB_INTERNAL unsigned int _hb_ot_layout_get_glyph_property (hb_ot_layout_t *layout, hb_codepoint_t glyph); -HB_OT_LAYOUT_INTERNAL void +HB_INTERNAL void _hb_ot_layout_set_glyph_property (hb_ot_layout_t *layout, hb_codepoint_t glyph, unsigned int property); -HB_OT_LAYOUT_INTERNAL hb_bool_t +HB_INTERNAL hb_bool_t _hb_ot_layout_check_glyph_property (hb_ot_layout_t *layout, HB_GlyphItem gitem, unsigned int lookup_flags, diff --git a/pango/opentype/hb-ot-layout.cc b/pango/opentype/hb-ot-layout.cc index e79662a..20fc0a1 100644 --- a/pango/opentype/hb-ot-layout.cc +++ b/pango/opentype/hb-ot-layout.cc @@ -126,13 +126,13 @@ hb_ot_layout_has_font_glyph_classes (hb_ot_layout_t *layout) return layout->gdef->has_glyph_classes (); } -HB_OT_LAYOUT_INTERNAL hb_bool_t +HB_INTERNAL hb_bool_t _hb_ot_layout_has_new_glyph_classes (hb_ot_layout_t *layout) { return layout->new_gdef.len > 0; } -HB_OT_LAYOUT_INTERNAL unsigned int +HB_INTERNAL unsigned int _hb_ot_layout_get_glyph_property (hb_ot_layout_t *layout, hb_codepoint_t glyph) { @@ -159,7 +159,7 @@ _hb_ot_layout_get_glyph_property (hb_ot_layout_t *layout, } } -HB_OT_LAYOUT_INTERNAL hb_bool_t +HB_INTERNAL hb_bool_t _hb_ot_layout_check_glyph_property (hb_ot_layout_t *layout, HB_GlyphItem gitem, unsigned int lookup_flags, @@ -208,7 +208,7 @@ _hb_ot_layout_check_glyph_property (hb_ot_layout_t *layout, return true; } -HB_OT_LAYOUT_INTERNAL void +HB_INTERNAL void _hb_ot_layout_set_glyph_property (hb_ot_layout_t *layout, hb_codepoint_t glyph, unsigned int property) -- 2.7.4