mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 17:41:49 +01:00
39 lines
578 B
C
39 lines
578 B
C
#pragma once
|
|
#include <wut.h>
|
|
|
|
/**
|
|
* \defgroup coreinit_baseheap Base Heap
|
|
* \ingroup coreinit
|
|
* @{
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef uint32_t MEMBaseHeapType;
|
|
typedef void *MEMHeapHandle;
|
|
|
|
enum MEMBaseHeapType
|
|
{
|
|
MEM_BASE_HEAP_MEM1 = 0,
|
|
MEM_BASE_HEAP_MEM2 = 1,
|
|
MEM_BASE_HEAP_FG = 8,
|
|
};
|
|
|
|
MEMBaseHeapType
|
|
MEMGetArena(MEMHeapHandle handle);
|
|
|
|
MEMHeapHandle
|
|
MEMGetBaseHeapHandle(MEMBaseHeapType type);
|
|
|
|
MEMHeapHandle
|
|
MEMSetBaseHeapHandle(MEMBaseHeapType type,
|
|
MEMHeapHandle handle);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|