Skip to content

TMemoryManager

Record describing the current memory manager.

Declaration

Source position: heaph.inc line 39

type
  TMemoryManager = record
    NeedLock: Boolean;
    Getmem:  = function(Size: PtrUInt) : Pointer;
    Freemem:  = function(p: pointer) : PtrUInt;
    FreememSize:  = function(p: pointer; Size: PtrUInt) : PtrUInt;
    AllocMem:  = function(Size: PtrUInt) : Pointer;
    ReAllocMem:  = function(var p: pointer; Size: PtrUInt) : Pointer;
    MemSize:  = function(p: pointer) : PtrUInt;
    InitThread:  = procedure;
    DoneThread:  = procedure;
    RelocateHeap:  = procedure;
    GetHeapStatus:  = function : THeapStatus;
    GetFPCHeapStatus:  = function : TFPCHeapStatus;
  end;

Description

TMemoryManager describes the memory manager. For more information about the memory manager, see the programmer's reference.