Files
thirdparty-ArduinoJson/src/ArduinoJson/Array/ArrayFunctions.hpp
2022-08-09 16:52:17 +02:00

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