WUT  0.1
Wii U Toolchain
frameheap.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
15 {
19 
20 typedef struct MEMFrameHeap MEMFrameHeap;
21 
23 {
24 };
25 UNKNOWN_SIZE(MEMFrameHeap);
26 
29  uint32_t size);
30 
33  uint32_t size,
34  uint16_t flags);
35 
36 void *
38 
39 void *
41  uint32_t size);
42 
43 void *
45  uint32_t size,
46  int alignment);
47 
48 void
51 
52 BOOL
54  uint32_t tag);
55 
56 BOOL
58  uint32_t tag);
59 
60 uint32_t
62 
63 uint32_t
65  uint32_t addr,
66  uint32_t size);
67 
68 uint32_t
70 
71 uint32_t
73  int alignment);
74 
75 #ifdef __cplusplus
76 }
77 #endif
78 
uint32_t MEMGetAllocatableSizeForFrmHeapEx(MEMFrameHeap *heap, int alignment)
BOOL MEMFreeByStateToFrmHeap(MEMFrameHeap *heap, uint32_t tag)
uint32_t MEMResizeForMBlockFrmHeap(MEMFrameHeap *heap, uint32_t addr, uint32_t size)
MEMFrameHeap * MEMCreateFrmHeap(MEMFrameHeap *heap, uint32_t size)
void * MEMAllocFromFrmHeap(MEMFrameHeap *heap, uint32_t size)
void * MEMAllocFromFrmHeapEx(MEMFrameHeap *heap, uint32_t size, int alignment)
BOOL MEMRecordStateForFrmHeap(MEMFrameHeap *heap, uint32_t tag)
MEMFrameHeapFreeMode
Definition: frameheap.h:14
int BOOL
Definition: wut_types.h:4
uint32_t MEMGetAllocatableSizeForFrmHeap(MEMFrameHeap *heap)
MEMFrameHeap * MEMCreateFrmHeapEx(MEMFrameHeap *heap, uint32_t size, uint16_t flags)
uint32_t MEMAdjustFrmHeap(MEMFrameHeap *heap)
void * MEMDestroyFrmHeap(MEMFrameHeap *heap)
void MEMFreeToFrmHeap(MEMFrameHeap *heap, MEMFrameHeapFreeMode mode)