aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/memalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/memalloc.h')
-rw-r--r--NorthstarDedicatedTest/memalloc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/NorthstarDedicatedTest/memalloc.h b/NorthstarDedicatedTest/memalloc.h
index d9277694..86d2ff58 100644
--- a/NorthstarDedicatedTest/memalloc.h
+++ b/NorthstarDedicatedTest/memalloc.h
@@ -3,16 +3,16 @@
#include "include/rapidjson/document.h"
//#include "include/rapidjson/allocators.h"
-extern size_t g_iStaticAllocated;
-
-extern "C" {
- char* _strdup_base(const char* src);
-}
+extern "C" void* _malloc_base(size_t size);
+extern "C" void* _calloc_base(size_t const count, size_t const size);
+extern "C" void* _realloc_base(void* block, size_t size);
+extern "C" void* _recalloc_base(void* const block, size_t const count, size_t const size);
+extern "C" void _free_base(void* const block);
+extern "C" char* _strdup_base(const char* src);
void* operator new(size_t n);
void operator delete(void* p);
-void* _malloc_base(size_t n);
//void* malloc(size_t n);
class SourceAllocator {