NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
eggHeap.hpp
1
#pragma once
2
#include <lib/rvl/mem/MEMHeapCommon.h>
3
4
class
Allocator;
5
6
// [TODO: extend this]
7
8
namespace
EGG {
9
class
Heap
{
10
public
:
11
virtual
~Heap
();
12
virtual
int
getHeapKind()
const
= 0;
13
virtual
void
initAllocator(Allocator* allocator, s32 align) = 0;
14
virtual
void
*alloc(
unsigned
long
,
int
) = 0;
15
virtual
void
free(
void
*) = 0;
16
virtual
void
destroy() = 0;
17
18
static
void
*alloc(
unsigned
long
,
int
,
EGG::Heap
*);
19
static
void
free(
void
*,
EGG::Heap
*);
20
21
char
mPad[0xc];
22
MEMiHeapHeader
*mpHeapHead;
23
};
24
}
EGG::Heap
Definition
eggHeap.hpp:9
MEMiHeapHeader
Definition
MEMHeapCommon.h:11
include
lib
egg
heap
eggHeap.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.12.0