From e88bff9b4d77dc86c04832163081effbff752216 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 7 Jul 2011 22:03:02 -0400 Subject: [PATCH] Minor, use function typedefs --- src/hb-ot-shape-complex-private.hh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/hb-ot-shape-complex-private.hh b/src/hb-ot-shape-complex-private.hh index 468204e8e..6a837ebe2 100644 --- a/src/hb-ot-shape-complex-private.hh +++ b/src/hb-ot-shape-complex-private.hh @@ -107,8 +107,9 @@ hb_ot_shape_complex_categorize (const hb_segment_properties_t *props) * Shapers should use plan->map to add their features. */ -HB_INTERNAL void _hb_ot_shape_complex_collect_features_arabic (hb_ot_shape_planner_t *plan, const hb_segment_properties_t *props); -HB_INTERNAL void _hb_ot_shape_complex_collect_features_indic (hb_ot_shape_planner_t *plan, const hb_segment_properties_t *props); +typedef void hb_ot_shape_complex_collect_features_func_t (hb_ot_shape_planner_t *plan, const hb_segment_properties_t *props); +HB_INTERNAL hb_ot_shape_complex_collect_features_func_t _hb_ot_shape_complex_collect_features_arabic; +HB_INTERNAL hb_ot_shape_complex_collect_features_func_t _hb_ot_shape_complex_collect_features_indic; static inline void hb_ot_shape_complex_collect_features (hb_ot_shape_planner_t *planner, @@ -129,8 +130,9 @@ hb_ot_shape_complex_collect_features (hb_ot_shape_planner_t *planner, * Shapers should use c->plan.map to get feature masks and set on buffer. */ -HB_INTERNAL void _hb_ot_shape_complex_setup_masks_arabic (hb_ot_shape_context_t *c); -HB_INTERNAL void _hb_ot_shape_complex_setup_masks_indic (hb_ot_shape_context_t *c); +typedef void hb_ot_shape_complex_setup_masks_func_t (hb_ot_shape_context_t *c); +HB_INTERNAL hb_ot_shape_complex_setup_masks_func_t _hb_ot_shape_complex_setup_masks_arabic; +HB_INTERNAL hb_ot_shape_complex_setup_masks_func_t _hb_ot_shape_complex_setup_masks_indic; static inline void hb_ot_shape_complex_setup_masks (hb_ot_shape_context_t *c)