class neAllocatorAbstract

virtual neByte * Alloc(s32 size, s32 alignment = 0) = 0;

virtual void Free(neByte *) = 0;

This is the abstract memory allocation class used by Tokamak. Applications should derive their own memory allocation class from neAllocatorAbstract and supply their own class to neSimulator. The default allocator class, neAllocatorDefault, is derived from this class and uses the standard malloc and free functions.