Files
ArduinoJson/src/JsonBuffer.cpp

18 lines
423 B
C++
Raw Normal View History

2014-10-23 23:39:22 +02:00
// Copyright Benoit Blanchon 2014
// MIT License
//
// Arduino JSON library
// https://github.com/bblanchon/ArduinoJson
#include "ArduinoJson/JsonBuffer.hpp"
2014-10-16 16:25:42 +02:00
#include "ArduinoJson/Internals/JsonParser.hpp"
2014-10-16 16:25:42 +02:00
2014-10-18 23:05:54 +02:00
using namespace ArduinoJson;
using namespace ArduinoJson::Internals;
2014-10-27 13:34:54 +01:00
// TODO: what happens if alloc returns NULL
void* operator new(size_t size, ArduinoJson::JsonBuffer* buffer) {
return _buffer->alloc(size);
2014-10-23 23:45:36 +02:00
}