wut/include/coreinit/baseheap.h

31 lines
490 B
C
Raw Normal View History

2016-01-07 14:20:05 +01:00
#pragma once
#include <wut.h>
2016-01-07 15:09:43 +01:00
#ifdef __cplusplus
extern "C" {
#endif
2016-01-07 14:20:05 +01:00
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);
2016-01-07 15:09:43 +01:00
#ifdef __cplusplus
}
#endif