Add some comments to coreinit/baseheap.h

This commit is contained in:
James Benton 2016-07-17 22:29:27 +01:00
parent 9a48378994
commit 8e9425f7d4

View File

@ -20,12 +20,21 @@ typedef enum MEMBaseHeapType
MEM_BASE_HEAP_FG = 8,
} MEMBaseHeapType;
/**
* Get which memory area a heap belongs to.
*/
MEMBaseHeapType
MEMGetArena(MEMHeapHandle handle);
/**
* Get base heap for memory area.
*/
MEMHeapHandle
MEMGetBaseHeapHandle(MEMBaseHeapType type);
/**
* Set base heap for memory area.
*/
MEMHeapHandle
MEMSetBaseHeapHandle(MEMBaseHeapType type,
MEMHeapHandle handle);