Index: third_party/harfbuzz-ng/src/hb-ot-shape.h |
diff --git a/third_party/harfbuzz-ng/src/hb-ot-shape.h b/third_party/harfbuzz-ng/src/hb-ot-shape.h |
index afe6fe9618c1d79bd4f5b6c3ada98c71bfaa2535..1402f54acc5b957dfc95b39bd4f0de218d4b9889 100644 |
--- a/third_party/harfbuzz-ng/src/hb-ot-shape.h |
+++ b/third_party/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 */ |