Minor: Remove LongArrayOf

pull/27/merge
Behdad Esfahbod 11 years ago
parent 41ea594950
commit 3084767e92
  1. 2
      src/hb-open-file-private.hh
  2. 4
      src/hb-open-type-private.hh

@ -139,7 +139,7 @@ struct TTCHeaderVersion1
Tag ttcTag; /* TrueType Collection ID string: 'ttcf' */
FixedVersion version; /* Version of the TTC Header (1.0),
* 0x00010000 */
LongArrayOf<OffsetTo<OffsetTable, ULONG> >
ArrayOf<OffsetTo<OffsetTable, ULONG>, ULONG>
table; /* Array of offsets to the OffsetTable for each font
* from the beginning of the file */
public:

@ -847,10 +847,6 @@ struct ArrayOf
DEFINE_SIZE_ARRAY (sizeof (LenType), array);
};
/* An array with a ULONG number of elements. */
template <typename Type>
struct LongArrayOf : ArrayOf<Type, ULONG> {};
/* Array of Offset's */
template <typename Type>
struct OffsetArrayOf : ArrayOf<OffsetTo<Type> > {};

Loading…
Cancel
Save