[HB] Clean more

This commit is contained in:
Behdad Esfahbod 2009-05-25 03:30:31 -04:00
parent d9d2a07f4a
commit 347f0b8621
2 changed files with 8 additions and 10 deletions

View File

@ -64,27 +64,25 @@ struct _hb_ot_layout_t
}; };
#define HB_OT_LAYOUT_INTERNAL static
HB_BEGIN_DECLS HB_BEGIN_DECLS
/* /*
* GDEF * 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_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_ot_layout_get_glyph_property (hb_ot_layout_t *layout,
hb_codepoint_t glyph); hb_codepoint_t glyph);
HB_OT_LAYOUT_INTERNAL void HB_INTERNAL void
_hb_ot_layout_set_glyph_property (hb_ot_layout_t *layout, _hb_ot_layout_set_glyph_property (hb_ot_layout_t *layout,
hb_codepoint_t glyph, hb_codepoint_t glyph,
unsigned int property); 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_ot_layout_check_glyph_property (hb_ot_layout_t *layout,
HB_GlyphItem gitem, HB_GlyphItem gitem,
unsigned int lookup_flags, unsigned int lookup_flags,

View File

@ -126,13 +126,13 @@ hb_ot_layout_has_font_glyph_classes (hb_ot_layout_t *layout)
return layout->gdef->has_glyph_classes (); 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) _hb_ot_layout_has_new_glyph_classes (hb_ot_layout_t *layout)
{ {
return layout->new_gdef.len > 0; 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_ot_layout_get_glyph_property (hb_ot_layout_t *layout,
hb_codepoint_t glyph) 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_ot_layout_check_glyph_property (hb_ot_layout_t *layout,
HB_GlyphItem gitem, HB_GlyphItem gitem,
unsigned int lookup_flags, unsigned int lookup_flags,
@ -208,7 +208,7 @@ _hb_ot_layout_check_glyph_property (hb_ot_layout_t *layout,
return true; return true;
} }
HB_OT_LAYOUT_INTERNAL void HB_INTERNAL void
_hb_ot_layout_set_glyph_property (hb_ot_layout_t *layout, _hb_ot_layout_set_glyph_property (hb_ot_layout_t *layout,
hb_codepoint_t glyph, hb_codepoint_t glyph,
unsigned int property) unsigned int property)