make cleanup and some bash-ism removal
[charfbuzz.git] / hb-shape-plan-private.h
blob1a90aed635a86f8e1d7002ffa8c7d300a3dd8acf
1 #ifndef HB_SHAPE_PLAN_PRIVATE_H
2 #define HB_SHAPE_PLAN_PRIVATE_H
3 struct hb_shape_plan_t
5 atomic_int32_t ref_cnt;
7 hb_bool_t default_shaper_list;
8 hb_face_t *face;
9 hb_segment_properties_t props;
11 hb_shape_func_t *shaper_func;
12 char *shaper_name;
14 struct hb_shaper_data_t shaper_data;
17 #ifdef HAVE_GRAPHITE2
18 struct hb_graphite2_shaper_shape_plan_data_t;
19 struct hb_graphite2_shaper_shape_plan_data_t *
20 hb_graphite2_shaper_shape_plan_data_create(hb_shape_plan_t *shape_plan,
21 const hb_feature_t *user_features,
22 unsigned num_user_features);
23 void
24 hb_graphite2_shaper_shape_plan_data_destroy(
25 struct hb_graphite2_shaper_shape_plan_data_t *data);
26 #endif
27 #ifdef HAVE_OT
28 struct hb_ot_shaper_shape_plan_data_t;
29 struct hb_ot_shaper_shape_plan_data_t *
30 hb_ot_shaper_shape_plan_data_create(hb_shape_plan_t *shape_plan,
31 const hb_feature_t *user_features,
32 unsigned num_user_features);
33 void
34 hb_ot_shaper_shape_plan_data_destroy(
35 struct hb_ot_shaper_shape_plan_data_t *data);
36 #endif
37 struct hb_fallback_shaper_shape_plan_data_t;
38 struct hb_fallback_shaper_shape_plan_data_t *
39 hb_fallback_shaper_shape_plan_data_create(hb_shape_plan_t *shape_plan,
40 const hb_feature_t *user_features,
41 unsigned num_user_features);
42 void
43 hb_fallback_shaper_shape_plan_data_destroy(
44 struct hb_fallback_shaper_shape_plan_data_t *data);
45 #endif