From: Behdad Esfahbod Date: Mon, 25 May 2009 07:30:31 +0000 (-0400) Subject: [HB] Clean more X-Git-Tag: 1.25.1~131 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fdb536bbfd1575465abf4cdfa08706685a466244;p=platform%2Fupstream%2Fpango.git [HB] Clean more --- 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)