Minor: Remove LongOffsetArrayOf and LongOffsetLongArrayOf

pull/27/merge
Behdad Esfahbod 11 years ago
parent 99d2817123
commit bb6ecf2ce5
  1. 2
      src/hb-open-file-private.hh
  2. 8
      src/hb-open-type-private.hh
  3. 2
      src/hb-ot-layout-gdef-table.hh

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

@ -855,14 +855,6 @@ struct LongArrayOf : ArrayOf<Type, ULONG> {};
template <typename Type>
struct OffsetArrayOf : ArrayOf<OffsetTo<Type> > {};
/* Array of LongOffset's */
template <typename Type>
struct LongOffsetArrayOf : ArrayOf<OffsetTo<Type, ULONG> > {};
/* LongArray of LongOffset's */
template <typename Type>
struct LongOffsetLongArrayOf : LongArrayOf<OffsetTo<Type, ULONG> > {};
/* Array of offsets relative to the beginning of the array itself. */
template <typename Type>
struct OffsetListOf : OffsetArrayOf<Type>

@ -282,7 +282,7 @@ struct MarkGlyphSetsFormat1
protected:
USHORT format; /* Format identifier--format = 1 */
LongOffsetArrayOf<Coverage>
ArrayOf<OffsetTo<Coverage, ULONG> >
coverage; /* Array of long offsets to mark set
* coverage tables */
public:

Loading…
Cancel
Save