Minor: Remove LongOffsetArrayOf and LongOffsetLongArrayOf

This commit is contained in:
Behdad Esfahbod committed 2014-06-27 15:21:08 -04:00
1 parent 99d2817123
commit bb6ecf2ce5
3 files changed
+2 -10

No files matched your search

+1 -1
View File
@@ -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:
-8
View File
@@ -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>
+1 -1
View File
@@ -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: