|
NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <game/mLib/m_allocator.hpp>
An allocator class that wraps an EGG:Allocator .
Definition at line 9 of file m_allocator.hpp.
Public Member Functions | |
| 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) |
Static Public Member Functions | |
| static void | init (EGG::Heap *heap) |
| mAllocator_c::mAllocator_c | ( | ) |
Constructs a new allocator.
Definition at line 60 of file m_allocator.cpp.
|
virtual |
Destroys the allocator.
Definition at line 63 of file m_allocator.cpp.
|
virtual |
Definition at line 75 of file m_allocator.cpp.
|
virtual |
Definition at line 79 of file m_allocator.cpp.
| bool mAllocator_c::attach | ( | EGG::Heap * | heap, |
| int | alignment ) |
Definition at line 65 of file m_allocator.cpp.
|
static |
Definition at line 83 of file m_allocator.cpp.