mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 15:19:25 +02:00
+ added HexStr() overload for huge pointers
git-svn-id: trunk@28180 -
This commit is contained in:
parent
8604372da3
commit
16c5849fc6
@ -565,6 +565,11 @@ begin
|
||||
HexStr:=HexStr(TFarPointerRec(Val).Segment,4)+':'+HexStr(TFarPointerRec(Val).Offset,4);
|
||||
end;
|
||||
|
||||
function HexStr(Val: HugePointer): ShortString;{$ifdef SYSTEMINLINE}inline;{$endif}
|
||||
begin
|
||||
HexStr:=HexStr(FarPointer(Val));
|
||||
end;
|
||||
|
||||
|
||||
{****************************************************************************
|
||||
FPU
|
||||
|
@ -1090,6 +1090,7 @@ Function binStr(Val:qword;cnt:byte):shortstring;
|
||||
{$ifdef CPUI8086}
|
||||
Function hexStr(Val:NearPointer):shortstring;
|
||||
Function hexStr(Val:FarPointer):shortstring;
|
||||
Function hexStr(Val:HugePointer):shortstring;{$ifdef SYSTEMINLINE}inline;{$endif}
|
||||
{$else CPUI8086}
|
||||
Function hexStr(Val:Pointer):shortstring;
|
||||
{$endif CPUI8086}
|
||||
|
Loading…
Reference in New Issue
Block a user