[HB] Use OffsetTo<> for Coverage
diff --git a/src/hb-ot-layout-open-private.h b/src/hb-ot-layout-open-private.h
index 9ef810b..f68e59f 100644
--- a/src/hb-ot-layout-open-private.h
+++ b/src/hb-ot-layout-open-private.h
@@ -69,7 +69,7 @@
inline unsigned int get_len(void) const { return num; } \
/* An array type is one that contains a variable number of objects
- * as its last item. An array object is extended with len() and size()
+ * as its last item. An array object is extended with get_len()
* methods, as well as overloaded [] operator. */
#define DEFINE_ARRAY_TYPE(Type, array, num) \
DEFINE_INDEX_OPERATOR(Type, array, num) \
@@ -237,14 +237,6 @@
}
-#define DEFINE_GET_ACCESSOR(Type, name, Name) \
- inline const Type& get_##name (void) const { \
- if (HB_UNLIKELY (!Name)) return Null(Type); \
- return *(const Type*)((const char*)this + Name); \
- }
-
-
-
/*
*