mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 23:49:29 +02:00
* changed destination parameter of getmem/getmemory from "var" to "out"
(mantis #11907) git-svn-id: trunk@13036 -
This commit is contained in:
parent
4771ca3ce1
commit
533f533868
@ -230,12 +230,12 @@ begin
|
||||
or (MemoryManager.FreeMem<>@SysFreeMem);
|
||||
end;
|
||||
|
||||
procedure GetMem(Var p:pointer;Size:ptruint);
|
||||
procedure GetMem(Out p:pointer;Size:ptruint);
|
||||
begin
|
||||
p := MemoryManager.GetMem(Size);
|
||||
end;
|
||||
|
||||
procedure GetMemory(Var p:pointer;Size:ptruint);
|
||||
procedure GetMemory(Out p:pointer;Size:ptruint);
|
||||
begin
|
||||
GetMem(p,size);
|
||||
end;
|
||||
|
@ -77,8 +77,8 @@ function SysGetHeapStatus:THeapStatus;
|
||||
function SysGetFPCHeapStatus:TFPCHeapStatus;
|
||||
|
||||
{ Tp7 functions }
|
||||
Procedure Getmem(Var p:pointer;Size:ptruint);
|
||||
Procedure Getmemory(Var p:pointer;Size:ptruint);
|
||||
Procedure Getmem(Out p:pointer;Size:ptruint);
|
||||
Procedure Getmemory(Out p:pointer;Size:ptruint);
|
||||
Procedure Freemem(p:pointer;Size:ptruint);
|
||||
Procedure Freememory(p:pointer;Size:ptruint);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user