MEMAllocFromFrmHeap

Syntax

#include <revolution/mem.h>

void* MEMAllocFromFrmHeap(
    		MEMHeapHandle    heap,
    		u32              size );

Arguments

heap Frame heap handle
size Size of the memory block in bytes

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 frame heap. The memory block has an alignment of 4.

See Also

MEMAllocFromFrmHeapEx, MEMFreeToFrmHeap, MEMCreateFrmHeap, MEMCreateFrmHeapEx

Revision History

2006/03/01 Initial version.


CONFIDENTIAL