NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
allocator.hpp
1#pragma once
2#include <types.h>
3#include <lib/egg/heap/eggHeap.hpp>
4#include <lib/rvl/mem/MEMHeapCommon.h>
5
6namespace EGG {
7 class Allocator : public MEMAllocator {
8 public:
9 Allocator(Heap *h, long l);
10
11 virtual ~Allocator();
12 virtual void *alloc(unsigned long);
13 virtual void free(void *);
14
15 public:
16 EGG::Heap *mpHeap;
17 int mAlign;
18 };
19}