1 #include "JSONAllocator.h"
2 
3 #if defined(JSON_MEMORY_CALLBACKS) || defined(JSON_MEMORY_POOL)
4 #include "JSONMemory.h"
5 
alloc(size_t bytes)6 void * JSONAllocatorRelayer::alloc(size_t bytes) json_nothrow {
7 	return JSONMemory::json_malloc(bytes);
8 }
9 
dealloc(void * ptr)10 void JSONAllocatorRelayer::dealloc(void * ptr) json_nothrow {
11 	JSONMemory::json_free(ptr);
12 }
13 #endif
14