MEMSetGroupIDForExpHeap

Syntax

#include <cafe/mem.h>

u16 MEMSetGroupIDForExpHeap( MEMHeapHandle heap, u16 groupID );

Parameters

heap Heap handle.
groupID Group ID (a value from 0 through 255) to set.

Return Values

Returns the current group ID value.

Description

Sets the group ID of the expanded heap.

The memory blocks allocated from the expanded heap each have their own group ID, and this value carries over to the group ID value set in the heap when the memory block is allocated.

The group ID becomes zero immediately after heap creation.

Do Not Call From

Callbacks Do not call this function from any callback function.

See Also

MEMGetGroupIDForExpHeap

Revision History

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


CONFIDENTIAL