Rename
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 21 Dec 2018 04:14:24 +0000 (23:14 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 21 Dec 2018 04:14:24 +0000 (23:14 -0500)
src/hb-array.hh
src/hb-open-type.hh
src/hb-vector.hh

index d4df165..a778351 100644 (file)
@@ -36,7 +36,7 @@ struct hb_sorted_array_t;
 template <typename Type>
 struct hb_array_t
 {
-  typedef Type ItemType;
+  typedef Type item_type_t;
   enum { item_size = hb_static_size (Type) };
 
   /*
index 7f88279..8956f45 100644 (file)
@@ -352,7 +352,7 @@ static inline Type& operator + (Base &base, OffsetTo<Type, OffsetType, has_null>
 template <typename Type>
 struct UnsizedArrayOf
 {
-  typedef Type ItemType;
+  typedef Type item_type_t;
   enum { item_size = hb_static_size (Type) };
 
   HB_NO_CREATE_COPY_ASSIGN_TEMPLATE (UnsizedArrayOf, Type);
@@ -508,7 +508,7 @@ struct SortedUnsizedArrayOf : UnsizedArrayOf<Type>
 template <typename Type, typename LenType=HBUINT16>
 struct ArrayOf
 {
-  typedef Type ItemType;
+  typedef Type item_type_t;
   enum { item_size = hb_static_size (Type) };
 
   HB_NO_CREATE_COPY_ASSIGN_TEMPLATE2 (ArrayOf, Type, LenType);
index d8e3f4e..0d98bd0 100644 (file)
@@ -34,7 +34,7 @@
 template <typename Type, unsigned int PreallocedCount=8>
 struct hb_vector_t
 {
-  typedef Type ItemType;
+  typedef Type item_type_t;
   enum { item_size = hb_static_size (Type) };
 
   HB_NO_COPY_ASSIGN_TEMPLATE2 (hb_vector_t, Type, PreallocedCount);