* TClassData also needs alignment dummies

git-svn-id: trunk@42807 -
This commit is contained in:
svenbarth 2019-08-24 23:08:33 +00:00
parent f740fc4228
commit 2dc771b7ba

View File

@ -578,18 +578,30 @@ unit TypInfo;
private
function GetUnitName: ShortString; inline;
function GetPropertyTable: PPropData; inline;
public
property UnitName: ShortString read GetUnitName;
property PropertyTable: PPropData read GetPropertyTable;
public
{$ifdef PROVIDE_ATTR_TABLE}
AttributeTable : PAttributeTable;
{$endif}
ClassType : TClass;
Parent : PPTypeInfo;
PropCount : SmallInt;
property UnitName: ShortString read GetUnitName;
property PropertyTable: PPropData read GetPropertyTable;
private
UnitNameField : ShortString;
{ PropertyTable: TPropData }
case TTypeKind of
tkClass: (
ClassType : TClass;
Parent : PPTypeInfo;
PropCount : SmallInt;
UnitNameField : ShortString;
{ PropertyTable: TPropData }
);
{ include for proper alignment }
tkInt64: (
dummy: Int64;
);
{$ifndef FPUNONE}
tkFloat: (
FloatType : TFloatType
);
{$endif}
end;
PTypeData = ^TTypeData;