Line | |
---|
1 | // Copyright Benoit Blanchon 2014-2016
|
---|
2 | // MIT License
|
---|
3 | //
|
---|
4 | // Arduino JSON library
|
---|
5 | // https://github.com/bblanchon/ArduinoJson
|
---|
6 | // If you like this project, please add a star!
|
---|
7 |
|
---|
8 | #pragma once
|
---|
9 |
|
---|
10 | #include <stddef.h> // for NULL
|
---|
11 |
|
---|
12 | #include "JsonBufferAllocated.hpp"
|
---|
13 |
|
---|
14 | namespace ArduinoJson {
|
---|
15 | namespace Internals {
|
---|
16 |
|
---|
17 | // A node for a singly-linked list.
|
---|
18 | // Used by List<T> and its iterators.
|
---|
19 | template <typename T>
|
---|
20 | struct ListNode : public Internals::JsonBufferAllocated {
|
---|
21 | ListNode() : next(NULL) {}
|
---|
22 |
|
---|
23 | ListNode<T> *next;
|
---|
24 | T content;
|
---|
25 | };
|
---|
26 | }
|
---|
27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.