mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
31 lines
475 B
C++
31 lines
475 B
C++
// ArduinoJson - https://arduinojson.org
|
|
// Copyright © 2014-2022, Benoit BLANCHON
|
|
// MIT License
|
|
|
|
#pragma once
|
|
|
|
#include <stdint.h> // int8_t, int16_t
|
|
|
|
#include <ArduinoJson/Namespace.hpp>
|
|
|
|
namespace ARDUINOJSON_NAMESPACE {
|
|
|
|
template <int Bits>
|
|
struct int_t;
|
|
|
|
template <>
|
|
struct int_t<8> {
|
|
typedef int8_t type;
|
|
};
|
|
|
|
template <>
|
|
struct int_t<16> {
|
|
typedef int16_t type;
|
|
};
|
|
|
|
template <>
|
|
struct int_t<32> {
|
|
typedef int32_t type;
|
|
};
|
|
} // namespace ARDUINOJSON_NAMESPACE
|