|
@@ -217,6 +217,7 @@ interface
|
|
|
constructor ppuload(ppufile:tcompilerppufile);
|
|
|
function getcopy : tstoreddef;override;
|
|
|
function GetTypeName:string;override;
|
|
|
+ function alignment : shortint;override;
|
|
|
{ do not override this routine in platform-specific subclasses,
|
|
|
override ppuwrite_platform instead }
|
|
|
procedure ppuwrite(ppufile:tcompilerppufile);override;final;
|
|
@@ -3659,6 +3660,12 @@ implementation
|
|
|
end;
|
|
|
|
|
|
|
|
|
+ function tvariantdef.alignment: shortint;
|
|
|
+ begin
|
|
|
+ result:=search_system_type('TVARDATA').typedef.alignment;
|
|
|
+ end;
|
|
|
+
|
|
|
+
|
|
|
procedure tvariantdef.ppuwrite(ppufile:tcompilerppufile);
|
|
|
begin
|
|
|
inherited ppuwrite(ppufile);
|