mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:39:31 +02:00
* variant size must be 24 bytes on 64 bit platforms
git-svn-id: trunk@3441 -
This commit is contained in:
parent
affffb4ef9
commit
2983b01109
@ -2055,7 +2055,11 @@ implementation
|
||||
|
||||
procedure tvariantdef.setsize;
|
||||
begin
|
||||
savesize:=16;
|
||||
{$ifdef cpu64bit}
|
||||
savesize:=24;
|
||||
{$else cpu64bit}
|
||||
savesize:=16;
|
||||
{$endif cpu64bit}
|
||||
end;
|
||||
|
||||
|
||||
|
@ -36,6 +36,8 @@ const
|
||||
varint64 = 20;
|
||||
varqword = 21;
|
||||
|
||||
varrecord = 36;
|
||||
|
||||
varstrarg = $48;
|
||||
varstring = $100;
|
||||
varany = $101;
|
||||
@ -104,7 +106,9 @@ type
|
||||
varany : (vany : pointer);
|
||||
vararray : (varray : pvararray);
|
||||
varbyref : (vpointer : pointer);
|
||||
);
|
||||
{ unused so far, only to fill up space }
|
||||
varrecord : (vrecord : pointer;precinfo : pointer);
|
||||
);
|
||||
1:
|
||||
(vlongs : array[0..2] of longint);
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user