NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
MEMFrmHeap.h
Go to the documentation of this file.
1#pragma once
2#include <types.h>
3/// @file
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9/// @brief The possible memory free modes.
10typedef enum {
11 MEM_FRMHEAP_FREE_HEAD = BIT_FLAG(0), ///< Deallocates from the bottom of the heap region.
12 MEM_FRMHEAP_FREE_TAIL = BIT_FLAG(1), ///< Deallocates from the top of the heap region.
13 MEM_FRMHEAP_FREE_ALL = MEM_FRMHEAP_FREE_HEAD | MEM_FRMHEAP_FREE_TAIL, ///< Deallocates all memory blocks from the heap.
15
16#ifdef __cplusplus
17}
18#endif
MEMFrmHeapFreeMode
The possible memory free modes.
Definition MEMFrmHeap.h:10
@ MEM_FRMHEAP_FREE_ALL
Deallocates all memory blocks from the heap.
Definition MEMFrmHeap.h:13
@ MEM_FRMHEAP_FREE_HEAD
Deallocates from the bottom of the heap region.
Definition MEMFrmHeap.h:11
@ MEM_FRMHEAP_FREE_TAIL
Deallocates from the top of the heap region.
Definition MEMFrmHeap.h:12