Heap Methods Fling OS

The Heap type exposes the following members.

Methods

  Name Description
Public method Static member AddBlock
Adds a contiguous block of memory to the heap so it can be used for allocating memory to objects.
Public method Static member Alloc
Attempts to allocate the specified amount of memory from the heap.
Public method Static member Free
Frees the specified memory giving it back to the heap.
Public method Static member GetFixedHeapPtr
Gets a pointer to the block of memory to allocate to the kernel's fixed heap.
Public method Static member GetFixedHeapSize
Gets the size of the block of memory to allocate to the kernel's fixed heap.
Public method Static member GetNID
Don't understand what this actually does...anyone care to inform me?
Public method Static member Init
Intialises the heap.
Public method Static member InitFixedHeap
Intialises the kernel's fixed heap.
Top
See Also