MEMInitAllocatorForOSHeap

Syntax

#include <revolution/mem.h>

void MEMInitAllocatorForOSHeap(
                        MEMAllocator*    pAllocator,
                        OSHeapHandle     heap );

Arguments

pAllocator Address of the MemAllocator structure
heap Heap handle passed to the function.

Return Values

None.

Description

This function initializes the allocator to allocate and deallocate memory from the heap that is created using the SDK OSCreateHeap function.

See Also

MEMInitAllocatorForFrmHeap, MEMInitAllocatorForUnitHeap, MEMInitAllocatorForExpHeap

Revision History

2006/03/01 Initial version.


CONFIDENTIAL