NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
dHeapAllocator_c Class Reference
Inheritance diagram for dHeapAllocator_c:
[legend]

Description

Definition at line 5 of file d_heap_allocator.hpp.

Public Member Functions

size_t adjustFrmHeap ()
EGG::FrmHeap * createFrmHeap (size_t size, EGG::Heap *parent, const char *name, size_t align)
Public Member Functions inherited from mHeapAllocator_c
 mHeapAllocator_c ()
 Constructs a new heap allocator.
virtual ~mHeapAllocator_c ()
 Destroys the heap allocator.
bool createFrmHeap (size_t size, EGG::Heap *parent, const char *name, ulong align, mHeap::AllocOptBit_t opt)
bool createFrmHeapToCurrent (size_t size, EGG::Heap *parent, const char *name, ulong align, mHeap::AllocOptBit_t opt)
void destroyHeap ()
 Destroys the underlying heap and replaces it with the dummy heap.
size_t adjustFrmHeap ()
size_t adjustFrmHeapRestoreCurrent ()
Public Member Functions inherited from mAllocator_c
 mAllocator_c ()
 Constructs a new allocator.
virtual ~mAllocator_c ()
 Destroys the allocator.
virtual void * alloc (size_t size)
virtual void free (void *ptr)
bool attach (EGG::Heap *heap, int alignment)

Additional Inherited Members

Static Public Member Functions inherited from mAllocator_c
static void init (EGG::Heap *heap)