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