Changed the memory allocation/deallocation to match the new ReAllocMem structure.

This commit is contained in:
lazarus 1999-10-31 06:24:18 +00:00
parent 71d7f4ef38
commit ef17ea6ec2

View File

@ -119,14 +119,14 @@ begin
DFreeMem(P);
end;
function zlibAllocMem(AppData: Pointer; Items, Size: Integer): Pointer;cdecl;
function zlibAllocMem(opaque:pointer; items:uInt; size:uInt):pointer;cdecl;
begin
Result:=DGetMem(Items*Size);
end;
procedure zlibFreeMem(AppData, Block: Pointer);cdecl;
procedure zlibFreeMem(opaque:pointer; address:pointer);cdecl;
begin
DFreeMem(Block);
DFreeMem(address);
end;