NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <game/mLib/m_allocator_dummy_heap.hpp>
A non-functional heap to be used when mHeapAllocator_c does not have a proper heap.
Definition at line 9 of file m_allocator_dummy_heap.hpp.
Public Member Functions | |
virtual int | getHeapKind () const |
virtual void | initAllocator (EGG::Allocator *allocator, long alignment) |
virtual void * | alloc (size_t bytes, long alignment) |
virtual void | free (void *ptr) |
virtual void | destroy () |
virtual void * | resizeForMBlock (void *ptr, size_t newSize) |
virtual u32 | getTotalFreeSize () |
virtual u32 | getAllocatableSize (long alignment) |
virtual bool | adjust () |
![]() | |
Heap (MEMiHeapHead *heapHead) | |
void | appendDisposer (Disposer *disposer) |
void | removeDisposer (Disposer *disposer) |
Static Public Member Functions | |
static mAllocatorDummyHeap_c * | getInstance () |
![]() | |
static void * | alloc (size_t, int, EGG::Heap *) |
static void | free (void *, EGG::Heap *) |
static Heap * | findContainHeap (const void *) |
static FrmHeap * | dynamicCastToFrm (Heap *heap) |
Static Public Attributes | |
static mAllocatorDummyHeap_c * | m_instance |
![]() | |
static Heap * | sCurrentHeap |
Additional Inherited Members | |
![]() | |
MEMiHeapHead * | mHeapHandle |
void * | mHeapBuffer |
Heap * | mParentHeap |
u16 | mFlag |
u8 | mPad1 [0xa] |
nw4r::ut::List | mChildren |
u8 | mPad2 [0x4] |
mAllocatorDummyHeap_c::mAllocatorDummyHeap_c | ( | ) |
Definition at line 14 of file m_allocator.cpp.
|
virtual |
Definition at line 18 of file m_allocator.cpp.
|
virtual |
Implements EGG::Heap.
Definition at line 20 of file m_allocator.cpp.
|
virtual |
Implements EGG::Heap.
Definition at line 24 of file m_allocator.cpp.
|
virtual |
Implements EGG::Heap.
Definition at line 32 of file m_allocator.cpp.
|
virtual |
Implements EGG::Heap.
Definition at line 36 of file m_allocator.cpp.
|
virtual |
Implements EGG::Heap.
Definition at line 38 of file m_allocator.cpp.
|
virtual |
Definition at line 40 of file m_allocator.cpp.
|
virtual |
Definition at line 44 of file m_allocator.cpp.
|
virtual |
Definition at line 48 of file m_allocator.cpp.
|
virtual |
Definition at line 52 of file m_allocator.cpp.
|
static |
Definition at line 56 of file m_allocator.cpp.
|
static |
Definition at line 30 of file m_allocator_dummy_heap.hpp.