Files
thirdparty-ArduinoJson/include/ArduinoJson/Internals/ListNode.hpp
Benoit Blanchon 6e67bc442f Added comments
2014-11-06 14:27:14 +01:00

25 lines
401 B
C++

// Copyright Benoit Blanchon 2014
// MIT License
//
// Arduino JSON library
// https://github.com/bblanchon/ArduinoJson
#pragma once
#include <stddef.h> // for NULL
namespace ArduinoJson {
namespace Internals {
// A node for a singly-linked list.
// Used by List<T> and its iterators.
template <typename T>
struct ListNode {
ListNode() : next(NULL) {}
ListNode<T>* next;
T content;
};
}
}