mirror of
https://github.com/zeldaret/ss
synced 2026-06-23 17:05:14 -04:00
cec09ad023
* g3d Headers * initial g3d source files -- NOT YET FIXED * change ResFile static_cast to explicit ctor
23 lines
498 B
C++
23 lines
498 B
C++
#ifndef NW4R_G3D_PLATFORM_ALLOCATOR_H
|
|
#define NW4R_G3D_PLATFORM_ALLOCATOR_H
|
|
#include <nw4r/types_nw4r.h>
|
|
|
|
#include <rvl/MEM.h>
|
|
|
|
namespace nw4r {
|
|
namespace g3d {
|
|
namespace detail {
|
|
|
|
inline void *AllocFromAllocator(MEMAllocator *pAllocator, u32 size) {
|
|
return MEMAllocFromAllocator(pAllocator, size);
|
|
}
|
|
inline void FreeToAllocator(MEMAllocator *pAllocator, void *pBlock) {
|
|
return MEMFreeToAllocator(pAllocator, pBlock);
|
|
}
|
|
|
|
} // namespace detail
|
|
} // namespace g3d
|
|
} // namespace nw4r
|
|
|
|
#endif
|