Tasmota/lib/ArduinoJson/include/ArduinoJson/Data/ListNode.hpp
arendst aaabe37f15 Add correct libraries
Arduino IDE: Place libraries in portable/sketchbook/libraries folder.
PlatformIO: Place libraries in your projects lib folder.
2017-02-21 09:50:32 +01:00

28 lines
530 B
C++

// Copyright Benoit Blanchon 2014-2017
// MIT License
//
// Arduino JSON library
// https://github.com/bblanchon/ArduinoJson
// If you like this project, please add a star!
#pragma once
#include <stddef.h> // for NULL
#include "JsonBufferAllocated.hpp"
namespace ArduinoJson {
namespace Internals {
// A node for a singly-linked list.
// Used by List<T> and its iterators.
template <typename T>
struct ListNode : public Internals::JsonBufferAllocated {
ListNode() : next(NULL) {}
ListNode<T> *next;
T content;
};
}
}