About to refactor all the tools to python.
This commit is contained in:
@ -6,14 +6,6 @@
|
||||
#include "memory.hpp"
|
||||
#include "assert/assert.hpp"
|
||||
|
||||
void * operator new(size_t size) noexcept {
|
||||
return memoryAllocate(size);
|
||||
}
|
||||
|
||||
void operator delete (void *p) noexcept {
|
||||
return memoryFree(p);
|
||||
}
|
||||
|
||||
void * memoryAllocate(const size_t size) {
|
||||
assertTrue(size >= 0, "memoryAllocate: size must be greater than 0 or equal to.");
|
||||
void *x = (void *)memoryCallMalloc(size);
|
||||
|
Reference in New Issue
Block a user