Index: third_party/harfbuzz-ng/src/hb-ot-layout-private.hh |
diff --git a/third_party/harfbuzz-ng/src/hb-ot-layout-private.hh b/third_party/harfbuzz-ng/src/hb-ot-layout-private.hh |
index 9b063008006f68902fe96b9783e3364f0d7f4554..ae7daa6dbc91d71ad5fa92b8a2209f426d2a05d5 100644 |
--- a/third_party/harfbuzz-ng/src/hb-ot-layout-private.hh |
+++ b/third_party/harfbuzz-ng/src/hb-ot-layout-private.hh |
@@ -127,7 +127,7 @@ struct hb_ot_layout_lookup_accelerator_t |
} |
template <typename TLookup> |
- inline void fini (const TLookup &lookup) |
+ inline void fini (const TLookup &lookup HB_UNUSED) |
{ |
} |
@@ -420,6 +420,13 @@ _hb_buffer_deallocate_unicode_vars (hb_buffer_t *buffer) |
} |
static inline void |
+_hb_buffer_assert_unicode_vars (hb_buffer_t *buffer) |
+{ |
+ HB_BUFFER_ASSERT_VAR (buffer, unicode_props0); |
+ HB_BUFFER_ASSERT_VAR (buffer, unicode_props1); |
+} |
+ |
+static inline void |
_hb_buffer_allocate_gsubgpos_vars (hb_buffer_t *buffer) |
{ |
HB_BUFFER_ALLOCATE_VAR (buffer, glyph_props); |
@@ -435,6 +442,14 @@ _hb_buffer_deallocate_gsubgpos_vars (hb_buffer_t *buffer) |
HB_BUFFER_DEALLOCATE_VAR (buffer, glyph_props); |
} |
+static inline void |
+_hb_buffer_assert_gsubgpos_vars (hb_buffer_t *buffer) |
+{ |
+ HB_BUFFER_ASSERT_VAR (buffer, glyph_props); |
+ HB_BUFFER_ASSERT_VAR (buffer, lig_props); |
+ HB_BUFFER_ASSERT_VAR (buffer, syllable); |
+} |
+ |
/* Make sure no one directly touches our props... */ |
#undef unicode_props0 |
#undef unicode_props1 |