mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-16 03:52:16 +02:00
27 lines
482 B
C++
27 lines
482 B
C++
// Copyright Benoit Blanchon 2014-2015
|
|
// MIT License
|
|
//
|
|
// Arduino JSON library
|
|
// https://github.com/bblanchon/ArduinoJson
|
|
|
|
#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;
|
|
};
|
|
}
|
|
}
|