diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-05-12 09:26:23 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-05-12 09:26:23 +0200 |
commit | 789986a05bd03935f1c344dc03ffaff36c8e7cdb (patch) | |
tree | 65b308c6705110aeb7853a10e44e0e6d7de6ed49 /include/lib/ArduinoJson/Strings | |
parent | 39895a677e5d370824e702cfe90ebc67737b8482 (diff) |
Make ArduinoJson work with MSP430 headers
Diffstat (limited to 'include/lib/ArduinoJson/Strings')
11 files changed, 38 insertions, 38 deletions
diff --git a/include/lib/ArduinoJson/Strings/ArduinoStringAdapter.hpp b/include/lib/ArduinoJson/Strings/ArduinoStringAdapter.hpp index 24646cc..8255645 100644 --- a/include/lib/ArduinoJson/Strings/ArduinoStringAdapter.hpp +++ b/include/lib/ArduinoJson/Strings/ArduinoStringAdapter.hpp @@ -6,9 +6,9 @@ #include <Arduino.h> -#include <ArduinoJson/Polyfills/safe_strcmp.hpp> -#include <ArduinoJson/Strings/IsString.hpp> -#include <ArduinoJson/Strings/StoragePolicy.hpp> +#include "lib/ArduinoJson/Polyfills/safe_strcmp.hpp" +#include "lib/ArduinoJson/Strings/IsString.hpp" +#include "lib/ArduinoJson/Strings/StoragePolicy.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Strings/ConstRamStringAdapter.hpp b/include/lib/ArduinoJson/Strings/ConstRamStringAdapter.hpp index ec7d53a..a76f07f 100644 --- a/include/lib/ArduinoJson/Strings/ConstRamStringAdapter.hpp +++ b/include/lib/ArduinoJson/Strings/ConstRamStringAdapter.hpp @@ -7,9 +7,9 @@ #include <stddef.h> // size_t #include <string.h> // strcmp -#include <ArduinoJson/Polyfills/safe_strcmp.hpp> -#include <ArduinoJson/Strings/IsString.hpp> -#include <ArduinoJson/Strings/StoragePolicy.hpp> +#include "lib/ArduinoJson/Polyfills/safe_strcmp.hpp" +#include "lib/ArduinoJson/Strings/IsString.hpp" +#include "lib/ArduinoJson/Strings/StoragePolicy.hpp" namespace ARDUINOJSON_NAMESPACE { @@ -52,8 +52,8 @@ class ConstRamStringAdapter { template <> struct IsString<const char*> : true_type {}; -template <int N> -struct IsString<const char[N]> : true_type {}; +template <int TN> +struct IsString<const char[TN]> : true_type {}; inline ConstRamStringAdapter adaptString(const char* str) { return ConstRamStringAdapter(str); diff --git a/include/lib/ArduinoJson/Strings/FlashStringAdapter.hpp b/include/lib/ArduinoJson/Strings/FlashStringAdapter.hpp index 292e348..3a7f1ad 100644 --- a/include/lib/ArduinoJson/Strings/FlashStringAdapter.hpp +++ b/include/lib/ArduinoJson/Strings/FlashStringAdapter.hpp @@ -4,10 +4,10 @@ #pragma once -#include <ArduinoJson/Polyfills/pgmspace.hpp> -#include <ArduinoJson/Strings/FlashStringIterator.hpp> -#include <ArduinoJson/Strings/IsString.hpp> -#include <ArduinoJson/Strings/StoragePolicy.hpp> +#include "lib/ArduinoJson/Polyfills/pgmspace.hpp" +#include "lib/ArduinoJson/Strings/FlashStringIterator.hpp" +#include "lib/ArduinoJson/Strings/IsString.hpp" +#include "lib/ArduinoJson/Strings/StoragePolicy.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Strings/IsString.hpp b/include/lib/ArduinoJson/Strings/IsString.hpp index af5a91a..c35074e 100644 --- a/include/lib/ArduinoJson/Strings/IsString.hpp +++ b/include/lib/ArduinoJson/Strings/IsString.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Polyfills/type_traits.hpp> +#include "lib/ArduinoJson/Polyfills/type_traits.hpp" namespace ARDUINOJSON_NAMESPACE { template <typename> diff --git a/include/lib/ArduinoJson/Strings/IsWriteableString.hpp b/include/lib/ArduinoJson/Strings/IsWriteableString.hpp index 32039e3..4d239c8 100644 --- a/include/lib/ArduinoJson/Strings/IsWriteableString.hpp +++ b/include/lib/ArduinoJson/Strings/IsWriteableString.hpp @@ -4,8 +4,8 @@ #pragma once -#include <ArduinoJson/Configuration.hpp> -#include <ArduinoJson/Polyfills/type_traits.hpp> +#include "lib/ArduinoJson/Configuration.hpp" +#include "lib/ArduinoJson/Polyfills/type_traits.hpp" #if ARDUINOJSON_ENABLE_ARDUINO_STRING #include <Arduino.h> diff --git a/include/lib/ArduinoJson/Strings/RamStringAdapter.hpp b/include/lib/ArduinoJson/Strings/RamStringAdapter.hpp index eded6c9..3aa4af1 100644 --- a/include/lib/ArduinoJson/Strings/RamStringAdapter.hpp +++ b/include/lib/ArduinoJson/Strings/RamStringAdapter.hpp @@ -4,9 +4,9 @@ #pragma once -#include <ArduinoJson/Strings/ConstRamStringAdapter.hpp> -#include <ArduinoJson/Strings/IsString.hpp> -#include <ArduinoJson/Strings/StoragePolicy.hpp> +#include "lib/ArduinoJson/Strings/ConstRamStringAdapter.hpp" +#include "lib/ArduinoJson/Strings/IsString.hpp" +#include "lib/ArduinoJson/Strings/StoragePolicy.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Strings/SizedFlashStringAdapter.hpp b/include/lib/ArduinoJson/Strings/SizedFlashStringAdapter.hpp index b9cc0bf..0c4e8ae 100644 --- a/include/lib/ArduinoJson/Strings/SizedFlashStringAdapter.hpp +++ b/include/lib/ArduinoJson/Strings/SizedFlashStringAdapter.hpp @@ -4,10 +4,10 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> -#include <ArduinoJson/Strings/FlashStringIterator.hpp> -#include <ArduinoJson/Strings/IsString.hpp> -#include <ArduinoJson/Strings/StoragePolicy.hpp> +#include "lib/ArduinoJson/Namespace.hpp" +#include "lib/ArduinoJson/Strings/FlashStringIterator.hpp" +#include "lib/ArduinoJson/Strings/IsString.hpp" +#include "lib/ArduinoJson/Strings/StoragePolicy.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Strings/SizedRamStringAdapter.hpp b/include/lib/ArduinoJson/Strings/SizedRamStringAdapter.hpp index fe23408..8c83950 100644 --- a/include/lib/ArduinoJson/Strings/SizedRamStringAdapter.hpp +++ b/include/lib/ArduinoJson/Strings/SizedRamStringAdapter.hpp @@ -4,9 +4,9 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> -#include <ArduinoJson/Strings/IsString.hpp> -#include <ArduinoJson/Strings/StoragePolicy.hpp> +#include "lib/ArduinoJson/Namespace.hpp" +#include "lib/ArduinoJson/Strings/IsString.hpp" +#include "lib/ArduinoJson/Strings/StoragePolicy.hpp" #include <string.h> // strcmp diff --git a/include/lib/ArduinoJson/Strings/StdStringAdapter.hpp b/include/lib/ArduinoJson/Strings/StdStringAdapter.hpp index ebf4c39..32d417b 100644 --- a/include/lib/ArduinoJson/Strings/StdStringAdapter.hpp +++ b/include/lib/ArduinoJson/Strings/StdStringAdapter.hpp @@ -4,9 +4,9 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> -#include <ArduinoJson/Strings/IsString.hpp> -#include <ArduinoJson/Strings/StoragePolicy.hpp> +#include "lib/ArduinoJson/Namespace.hpp" +#include "lib/ArduinoJson/Strings/IsString.hpp" +#include "lib/ArduinoJson/Strings/StoragePolicy.hpp" #include <string> diff --git a/include/lib/ArduinoJson/Strings/String.hpp b/include/lib/ArduinoJson/Strings/String.hpp index 4f2abde..ba4c094 100644 --- a/include/lib/ArduinoJson/Strings/String.hpp +++ b/include/lib/ArduinoJson/Strings/String.hpp @@ -4,9 +4,9 @@ #pragma once -#include <ArduinoJson/Strings/ConstRamStringAdapter.hpp> -#include <ArduinoJson/Strings/IsString.hpp> -#include <ArduinoJson/Strings/StoragePolicy.hpp> +#include "lib/ArduinoJson/Strings/ConstRamStringAdapter.hpp" +#include "lib/ArduinoJson/Strings/IsString.hpp" +#include "lib/ArduinoJson/Strings/StoragePolicy.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Strings/StringAdapters.hpp b/include/lib/ArduinoJson/Strings/StringAdapters.hpp index 3d294d2..0cf8acc 100644 --- a/include/lib/ArduinoJson/Strings/StringAdapters.hpp +++ b/include/lib/ArduinoJson/Strings/StringAdapters.hpp @@ -4,19 +4,19 @@ #pragma once -#include <ArduinoJson/Strings/ConstRamStringAdapter.hpp> -#include <ArduinoJson/Strings/RamStringAdapter.hpp> -#include <ArduinoJson/Strings/SizedRamStringAdapter.hpp> +#include "lib/ArduinoJson/Strings/ConstRamStringAdapter.hpp" +#include "lib/ArduinoJson/Strings/RamStringAdapter.hpp" +#include "lib/ArduinoJson/Strings/SizedRamStringAdapter.hpp" #if ARDUINOJSON_ENABLE_STD_STRING -#include <ArduinoJson/Strings/StdStringAdapter.hpp> +#include "lib/ArduinoJson/Strings/StdStringAdapter.hpp" #endif #if ARDUINOJSON_ENABLE_ARDUINO_STRING -#include <ArduinoJson/Strings/ArduinoStringAdapter.hpp> +#include "lib/ArduinoJson/Strings/ArduinoStringAdapter.hpp" #endif #if ARDUINOJSON_ENABLE_PROGMEM -#include <ArduinoJson/Strings/FlashStringAdapter.hpp> -#include <ArduinoJson/Strings/SizedFlashStringAdapter.hpp> +#include "lib/ArduinoJson/Strings/FlashStringAdapter.hpp" +#include "lib/ArduinoJson/Strings/SizedFlashStringAdapter.hpp" #endif |