This commit is contained in:
Ilusha 2023-05-28 01:16:30 +03:00 committed by IlushaShurupov
parent d4c558a59a
commit db05d963be
74 changed files with 4473 additions and 3231 deletions

View file

@ -1,20 +0,0 @@
#pragma once
#include "HeapAllocatorGlobal.hpp"
namespace tp {
struct HeapAlloc {
#ifdef MEM_DEBUG
HeapAllocGlobal mAlloc;
ualni mNumAllocations = 0;
struct MemHeadLocal* mEntry = NULL;
#endif
void* allocate(ualni aBlockSize);
void deallocate(void* aPtr);
~HeapAlloc();
};
};