forked from bblanchon/ArduinoJson
Added missing #pragma once
(issue #310)
This commit is contained in:
@ -1,6 +1,11 @@
|
|||||||
ArduinoJson: change log
|
ArduinoJson: change log
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
|
HEAD
|
||||||
|
----
|
||||||
|
|
||||||
|
* Added missing `#pragma once` (issue #310)
|
||||||
|
|
||||||
v5.6.0
|
v5.6.0
|
||||||
------
|
------
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@ Features
|
|||||||
* Portable (written in C++98)
|
* Portable (written in C++98)
|
||||||
* Self-contained (no external dependency)
|
* Self-contained (no external dependency)
|
||||||
* Small footprint
|
* Small footprint
|
||||||
|
* Header-only library
|
||||||
* MIT License
|
* MIT License
|
||||||
|
|
||||||
Works on
|
Works on
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
// https://github.com/bblanchon/ArduinoJson
|
// https://github.com/bblanchon/ArduinoJson
|
||||||
// If you like this project, please add a star!
|
// If you like this project, please add a star!
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include "ArduinoJson/DynamicJsonBuffer.hpp"
|
#include "ArduinoJson/DynamicJsonBuffer.hpp"
|
||||||
#include "ArduinoJson/JsonArray.hpp"
|
#include "ArduinoJson/JsonArray.hpp"
|
||||||
#include "ArduinoJson/JsonObject.hpp"
|
#include "ArduinoJson/JsonObject.hpp"
|
||||||
|
@ -5,8 +5,10 @@
|
|||||||
// https://github.com/bblanchon/ArduinoJson
|
// https://github.com/bblanchon/ArduinoJson
|
||||||
// If you like this project, please add a star!
|
// If you like this project, please add a star!
|
||||||
|
|
||||||
#include "JsonParser.hpp"
|
#pragma once
|
||||||
|
|
||||||
#include "Comments.hpp"
|
#include "Comments.hpp"
|
||||||
|
#include "JsonParser.hpp"
|
||||||
|
|
||||||
inline bool ArduinoJson::Internals::JsonParser::skip(char charToSkip) {
|
inline bool ArduinoJson::Internals::JsonParser::skip(char charToSkip) {
|
||||||
const char *ptr = skipSpacesAndComments(_readPtr);
|
const char *ptr = skipSpacesAndComments(_readPtr);
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
// https://github.com/bblanchon/ArduinoJson
|
// https://github.com/bblanchon/ArduinoJson
|
||||||
// If you like this project, please add a star!
|
// If you like this project, please add a star!
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include "Internals/JsonParser.hpp"
|
#include "Internals/JsonParser.hpp"
|
||||||
|
|
||||||
inline ArduinoJson::JsonArray &ArduinoJson::JsonBuffer::createArray() {
|
inline ArduinoJson::JsonArray &ArduinoJson::JsonBuffer::createArray() {
|
||||||
|
Reference in New Issue
Block a user