About to refactor all the tools to python.

This commit is contained in:
2023-10-22 00:59:04 -05:00
parent b9493840f4
commit cf9dd63148
18 changed files with 354 additions and 333 deletions

View File

@ -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);