diff options
Diffstat (limited to 'src/3rdparty/harfbuzz-ng/src/hb-ot-shape.h')
-rw-r--r-- | src/3rdparty/harfbuzz-ng/src/hb-ot-shape.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/3rdparty/harfbuzz-ng/src/hb-ot-shape.h b/src/3rdparty/harfbuzz-ng/src/hb-ot-shape.h index afe6fe9618..1402f54acc 100644 --- a/src/3rdparty/harfbuzz-ng/src/hb-ot-shape.h +++ b/src/3rdparty/harfbuzz-ng/src/hb-ot-shape.h @@ -24,31 +24,30 @@ * Red Hat Author(s): Behdad Esfahbod */ +#ifndef HB_OT_H_IN +#error "Include <hb-ot.h> instead." +#endif + #ifndef HB_OT_SHAPE_H #define HB_OT_SHAPE_H -#define HB_OT_SHAPE_H_IN #include "hb.h" -#include "hb-ot-layout.h" -#include "hb-ot-tag.h" - HB_BEGIN_DECLS /* TODO port to shape-plan / set. */ void hb_ot_shape_glyphs_closure (hb_font_t *font, - hb_buffer_t *buffer, - const hb_feature_t *features, - unsigned int num_features, - hb_set_t *glyphs); + hb_buffer_t *buffer, + const hb_feature_t *features, + unsigned int num_features, + hb_set_t *glyphs); void hb_ot_shape_plan_collect_lookups (hb_shape_plan_t *shape_plan, - hb_tag_t table_tag, - hb_set_t *lookup_indexes /* OUT */); + hb_tag_t table_tag, + hb_set_t *lookup_indexes /* OUT */); HB_END_DECLS -#undef HB_OT_SHAPE_H_IN #endif /* HB_OT_SHAPE_H */ |