+ added HexStr() overload for huge pointers

git-svn-id: trunk@28180 -
This commit is contained in:
nickysn 2014-07-07 15:13:29 +00:00
parent 8604372da3
commit 16c5849fc6
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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}