* fixed tb0488 on unix platforms (missing cwstring uses)

* 64bit big-endian fix of dynamic array handling
* added qword support for %x format specifier of format() functions

git-svn-id: trunk@1773 -
This commit is contained in:
tom_at_work 2005-11-16 20:50:38 +00:00
parent 9032cdafbe
commit 9d7ac02696
3 changed files with 8 additions and 2 deletions

View File

@ -20,7 +20,7 @@ type
{ to calculate memory requirements }
pdynarray = ^tdynarray;
tdynarray = packed record
refcount : longint;
refcount : ptrint;
high : tdynarrayindex;
end;

View File

@ -300,6 +300,12 @@ begin
vq:=Cardinal(Args[Doarg].VInteger);
index:=16;
end
else
if CheckArg(vtQWord, false) then
begin
vq:=Qword(Args[DoArg].VQWord^);
index:=31;
end
else
begin
CheckArg(vtInt64,true);

View File

@ -27,7 +27,7 @@
999999999
}
uses SysUtils,erroru;
uses {$ifdef unix}cwstring, {$endif}SysUtils,erroru;
procedure Check(a,b:ansistring);
begin