MEMAllocFromUnitHeap

Syntax

#include <cafe/mem.h>

void* MEMAllocFromUnitHeap( MEMHeapHandle heap );

Parameters

heap Unit heap handle.

Return Values

When the memory block is allocated, the start address of this memory block is returned. When memory cannot be allocated, NULL is returned.

Description

Allocates a memory block from the unit heap.

Do Not Call From

Callbacks Do not call this function from any callback function.

See Also

MEMFreeToUnitHeap
MEMCreateUnitHeap
MEMCreateUnitHeapEx

Revision History

2013-05-08 Automated cleanup pass.
2010-11-01 Initial version.


CONFIDENTIAL