wut/include/coreinit/baseheap.h
2016-01-08 07:28:52 -08:00

38 lines
568 B
C

#pragma once
#include <wut.h>
/**
* \defgroup coreinit_baseheap Base Heap
* \ingroup coreinit
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
typedef void *MEMHeapHandle;
typedef enum MEMBaseHeapType
{
MEM_BASE_HEAP_MEM1 = 0,
MEM_BASE_HEAP_MEM2 = 1,
MEM_BASE_HEAP_FG = 8,
} MEMBaseHeapType;
MEMBaseHeapType
MEMGetArena(MEMHeapHandle handle);
MEMHeapHandle
MEMGetBaseHeapHandle(MEMBaseHeapType type);
MEMHeapHandle
MEMSetBaseHeapHandle(MEMBaseHeapType type,
MEMHeapHandle handle);
#ifdef __cplusplus
}
#endif
/** @} */