mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:19:28 +02:00
Add SysTinyGetMem and similar to interface to allow use in heaptrc unit
git-svn-id: trunk@33680 -
This commit is contained in:
parent
cbb29a7e5d
commit
4af209ac50
@ -25,8 +25,16 @@
|
||||
HeapEnd: Pointer = nil; { end of heap }
|
||||
FreeList: Pointer = nil; { pointer to the first free block }
|
||||
HeapPtr: Pointer = nil; { pointer to the last free block }
|
||||
HeapSize : {$ifdef FPC_TINYHEAP_HUGE}LongInt{$else}PtrUInt{$endif};
|
||||
|
||||
function MemAvail: {$ifdef FPC_TINYHEAP_HUGE}LongInt{$else}PtrUInt{$endif};
|
||||
function MaxAvail: {$ifdef FPC_TINYHEAP_HUGE}LongInt{$else}PtrUInt{$endif};
|
||||
procedure Mark(var p: Pointer);
|
||||
procedure Release(var p: Pointer);
|
||||
function SysTinyGetMem(Size: ptruint): pointer;
|
||||
function SysTinyFreeMem(Addr: Pointer): ptruint;
|
||||
function SysTinyFreeMemSize(Addr: Pointer; Size: Ptruint): ptruint;
|
||||
function SysTinyMemSize(p: pointer): ptruint;
|
||||
function SysTinyGetFPCHeapStatus : TFPCHeapStatus;
|
||||
function SysTinyGetHeapStatus : THeapStatus;
|
||||
function SysTinyTryResizeMem(var p: pointer; size: ptruint) : boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user