Cleanup bitmask allocation
diff --git a/src/hb-buffer-private.hh b/src/hb-buffer-private.hh
index d897627..d05322b 100644
--- a/src/hb-buffer-private.hh
+++ b/src/hb-buffer-private.hh
@@ -94,6 +94,15 @@
 _hb_buffer_next_glyph (hb_buffer_t *buffer);
 
 
+HB_INTERNAL void
+_hb_buffer_clear_masks (hb_buffer_t *buffer);
+
+HB_INTERNAL void
+_hb_buffer_or_masks (hb_buffer_t *buffer,
+		     hb_mask_t    mask,
+		     unsigned int cluster_start,
+		     unsigned int cluster_end);
+
 
 struct _hb_buffer_t {
   hb_reference_count_t ref_count;
@@ -147,6 +156,13 @@
 				unsigned short ligID = 0xFFFF)
   { _hb_buffer_add_output_glyph (this, glyph_index, component, ligID); }
   inline void replace_glyph (hb_codepoint_t glyph_index) { add_output_glyph (glyph_index); }
+
+  inline void clear_masks (void) { _hb_buffer_clear_masks (this); }
+  inline void or_masks (hb_mask_t    mask,
+			unsigned int cluster_start,
+			unsigned int cluster_end)
+  { _hb_buffer_or_masks (this, mask, cluster_start, cluster_end); }
+
 };