#include <LayoutAllocator.h>
Inherits nw::ut::IAllocator.
Public Member Functions | |
| LayoutAllocator () | |
| void * | Alloc (size_t size, u32 alignment) override |
| void | Free (void *memory) override |
| void | setHeap (sead::Heap *heap) |
| Public Member Functions inherited from nw::ut::IAllocator | |
| virtual | ~IAllocator () |
Protected Attributes | |
| sead::Heap * | mHeap |
|
inline |
|
overridevirtual |
Implements nw::ut::IAllocator.
|
overridevirtual |
Implements nw::ut::IAllocator.
| void LayoutAllocator::setHeap | ( | sead::Heap * | heap | ) |
|
protected |