NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
eggDisposer.cpp
1#include <lib/egg/core/eggDisposer.h>
2#include <lib/egg/core/eggHeap.h>
3
4namespace EGG {
5
7 mHeap = Heap::findContainHeap(this);
8 if (mHeap) {
9 mHeap->appendDisposer(this);
10 }
11}
12
14 if (mHeap) {
15 mHeap->removeDisposer(this);
16 }
17}
18
19} // namespace EGG
Disposer()
Registers the disposer in the containing heap.
virtual ~Disposer()
Unregisters the disposer in the containing heap.
Heap * mHeap
Heap in which the disposer is allocated, or NULL otherwise.
Definition eggDisposer.h:27