MEMGetArena

Syntax

#include <cafe/mem.h>

MEMArena MEMGetArena (MEMHeapHandle heap);

Parameters

heap Handle to base heap to query for what arena it belongs to.

Return Values

If successful, this function returns the logical arena identifier (MEM_ARENA_1, MEM_ARENA_2,...) of the arena that is managed by the base heap specified by the argument.

Description

This function allows you to retrieve the arena that a base heap is set to manage.

Do Not Call From

Callbacks Do not call this function from any callback function.

See Also

MEMGetBaseHeapHandle
MEMSetBaseHeapHandle

Revision History

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


CONFIDENTIAL