[apply] Use a context object to reduce number of parameters passed around
diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh
index 1b33183..a062aff 100644
--- a/src/hb-open-type-private.hh
+++ b/src/hb-open-type-private.hh
@@ -138,15 +138,14 @@
context, \
(HB_DEBUG_SANITIZE ? sanitize_depth + 1 : 0)
-
-typedef struct _hb_sanitize_context_t hb_sanitize_context_t;
-struct _hb_sanitize_context_t
+struct hb_sanitize_context_t
{
const char *start, *end;
hb_bool_t writable;
unsigned int edit_count;
};
+
static HB_GNUC_UNUSED void
_hb_sanitize_init (hb_sanitize_context_t *context,
hb_blob_t *blob)