Minor: Remove LongArrayOf

This commit is contained in:
Behdad Esfahbod 2014-06-27 15:24:35 -04:00
parent 41ea594950
commit 3084767e92
2 changed files with 1 additions and 5 deletions

View File

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

View File

@ -847,10 +847,6 @@ struct ArrayOf
DEFINE_SIZE_ARRAY (sizeof (LenType), array); 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 */ /* Array of Offset's */
template <typename Type> template <typename Type>
struct OffsetArrayOf : ArrayOf<OffsetTo<Type> > {}; struct OffsetArrayOf : ArrayOf<OffsetTo<Type> > {};