MEMInitAllocatorForExpHeap

C Specification

#include <revolution/mem.h>

void MEMInitAllocatorForExpHeap(
MEMAllocator*    pAllocator,
MEMHeapHandle    heap,
int     alignment);

Arguments

pAllocator Address of the MemAllocator structure.
heap Expanded heap handle.
alignment Alignment value applied to each memory block to allocate.

Return Values

None.

Description

Initializes the allocator to allocate and free memory from the expanded heap. The alignment values of all memory blocks allocated through this allocator are specified by alignment.

See Also

MEMInitAllocatorForFrmHeap, MEMInitAllocatorForUnitHeap, MEMInitAllocatorForOSHeap

Revision History

03/01/2006 Initial version.