Add LArrayOf<>
This commit is contained in:
parent
5e156fa5ed
commit
b732c53eb5
|
@ -952,6 +952,7 @@ struct ArrayOf
|
||||||
public:
|
public:
|
||||||
DEFINE_SIZE_ARRAY (sizeof (LenType), array);
|
DEFINE_SIZE_ARRAY (sizeof (LenType), array);
|
||||||
};
|
};
|
||||||
|
template <typename Type> struct LArrayOf : ArrayOf<Type, ULONG> {};
|
||||||
|
|
||||||
/* Array of Offset's */
|
/* Array of Offset's */
|
||||||
template <typename Type, typename OffsetType=USHORT>
|
template <typename Type, typename OffsetType=USHORT>
|
||||||
|
|
|
@ -348,8 +348,8 @@ struct CBLC
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
FixedVersion<>version;
|
FixedVersion<> version;
|
||||||
ArrayOf<BitmapSizeTable, ULONG> sizeTables;
|
LArrayOf<BitmapSizeTable> sizeTables;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DEFINE_SIZE_ARRAY(8, sizeTables);
|
DEFINE_SIZE_ARRAY(8, sizeTables);
|
||||||
|
|
|
@ -1527,7 +1527,7 @@ struct FeatureVariations
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
FixedVersion<> version; /* Version--0x00010000u */
|
FixedVersion<> version; /* Version--0x00010000u */
|
||||||
ArrayOf<FeatureVariationRecord, ULONG>
|
LArrayOf<FeatureVariationRecord>
|
||||||
varRecords;
|
varRecords;
|
||||||
public:
|
public:
|
||||||
DEFINE_SIZE_ARRAY (8, varRecords);
|
DEFINE_SIZE_ARRAY (8, varRecords);
|
||||||
|
|
Loading…
Reference in New Issue