mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
16 lines
356 B
C++
16 lines
356 B
C++
// ArduinoJson - https://arduinojson.org
|
|
// Copyright © 2014-2022, Benoit BLANCHON
|
|
// MIT License
|
|
|
|
#pragma once
|
|
|
|
#include <ArduinoJson/Collection/CollectionData.hpp>
|
|
|
|
namespace ARDUINOJSON_NAMESPACE {
|
|
|
|
inline VariantData* arrayAdd(CollectionData* arr, MemoryPool* pool) {
|
|
return arr ? arr->addElement(pool) : 0;
|
|
}
|
|
|
|
} // namespace ARDUINOJSON_NAMESPACE
|