From f1d07885dc358e79c237e824c94b3320c0a9c17d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 6 Oct 2010 00:21:37 -0400 Subject: [PATCH] Rename setup_lookups() --- src/hb-ot-shape.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index d79ccfb7d..053a823f5 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -228,9 +228,9 @@ struct hb_mask_allocator_t { }; static void -setup_lookups (hb_ot_shape_context_t *c, - lookup_map *lookups, - unsigned int *num_lookups) +hb_ot_shape_setup_lookups (hb_ot_shape_context_t *c, + lookup_map *lookups, + unsigned int *num_lookups) { unsigned int i, j, script_index, language_index, feature_index, room_lookups; @@ -353,7 +353,7 @@ hb_ot_substitute_complex (hb_ot_shape_context_t *c) c->table_tag = HB_OT_TAG_GSUB; - setup_lookups (c, lookups, &num_lookups); + hb_ot_shape_setup_lookups (c, lookups, &num_lookups); for (i = 0; i < num_lookups; i++) hb_ot_layout_substitute_lookup (c->face, c->buffer, lookups[i].index, lookups[i].mask); @@ -374,7 +374,7 @@ hb_ot_position_complex (hb_ot_shape_context_t *c) c->table_tag = HB_OT_TAG_GPOS; - setup_lookups (c, lookups, &num_lookups); + hb_ot_shape_setup_lookups (c, lookups, &num_lookups); for (i = 0; i < num_lookups; i++) hb_ot_layout_position_lookup (c->font, c->face, c->buffer, lookups[i].index, lookups[i].mask);