mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 06:28:55 +02:00
* adjust signature of variant managers olevarfromint so that 64-bit values can be passed as well (as was probably intended originally)
git-svn-id: trunk@41570 -
This commit is contained in:
parent
2430174213
commit
07b1a3d211
@ -2488,7 +2488,7 @@ begin
|
||||
DoOleVarFromVar(TVarData(aDest), TVarData(aSource));
|
||||
end;
|
||||
|
||||
procedure sysolevarfromint(var Dest : olevariant; const Source : LongInt; const range : ShortInt);
|
||||
procedure sysolevarfromint(var Dest : olevariant; const Source : Int64; const range : ShortInt);
|
||||
begin
|
||||
DoVarClearIfComplex(TVarData(Dest));
|
||||
with TVarData(Dest) do begin
|
||||
|
@ -186,7 +186,7 @@ type
|
||||
olevarfrompstr: procedure(var dest : olevariant; const source : shortstring);
|
||||
olevarfromlstr: procedure(var dest : olevariant; const source : ansistring);
|
||||
olevarfromvar: procedure(var dest : olevariant; const source : variant);
|
||||
olevarfromint: procedure(var dest : olevariant; const source : longint;const range : shortint);
|
||||
olevarfromint: procedure(var dest : olevariant; const source : int64;const range : shortint);
|
||||
|
||||
{ operators }
|
||||
varop : procedure(var left : variant;const right : variant;opcode : tvarop);
|
||||
|
Loading…
Reference in New Issue
Block a user