NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
g3d_allocator.h
1#ifndef NW4R_G3D_PLATFORM_ALLOCATOR_H
2#define NW4R_G3D_PLATFORM_ALLOCATOR_H
3#include <nw4r/types_nw4r.h>
4
5#include <revolution/MEM.h>
6
7namespace nw4r {
8namespace g3d {
9namespace detail {
10
11inline void* AllocFromAllocator(MEMAllocator* pAllocator, ulong size) {
12 return MEMAllocFromAllocator(pAllocator, size);
13}
14inline void FreeToAllocator(MEMAllocator* pAllocator, void* pBlock) {
15 return MEMFreeToAllocator(pAllocator, pBlock);
16}
17
18} // namespace detail
19} // namespace g3d
20} // namespace nw4r
21
22#endif
3D graphics drawing library.
Definition g3d_3dsmax.h:10