Initial Commit

This commit is contained in:
2024-08-07 09:09:36 -04:00
commit ca445435a0
458 changed files with 41370 additions and 0 deletions

20
common/HEAPNEW.HPP Normal file
View File

@@ -0,0 +1,20 @@
#ifndef _COMMON_HEAPNEW_HPP_
#define _COMMON_HEAPNEW_HPP_
#if defined(_FASTHEAP_)
#include <common/heap.hpp>
Heap &globalHeap(void);
inline
void *operator new(size_t size)
{
return globalHeap().heapAlloc(size);
}
inline
void operator delete(void *pData)
{
globalHeap().heapFree(pData);
}
#endif
#endif