NW4F Sys
Loading...
Searching...
No Matches
ut_Memory.h
Go to the documentation of this file.
1#ifndef NW_UT_MEMORY_H_
2#define NW_UT_MEMORY_H_
3
4#include <nw/ut/ut_RuntimeTypeInfo.h>
5
6namespace nw { namespace ut {
7
9{
10public:
12
13 virtual ~IAllocator()
14 {
15 }
16
17 virtual void* Alloc(size_t size, u32 alignment) = 0;
18 virtual void Free(void* memory) = 0;
19};
20
21} } // namespace nw::ut
22
23#endif // NW_UT_MEMORY_H_
Definition ut_Memory.h:9
virtual void * Alloc(size_t size, u32 alignment)=0
virtual void Free(void *memory)=0
virtual ~IAllocator()
Definition ut_Memory.h:13
Definition ut_CriticalSection.h:6
Definition math_Constant.cpp:5
#define NW_UT_RUNTIME_TYPEINFO_ROOT()
Definition ut_RuntimeTypeInfo.h:8