1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-16 02:02:21 +01:00

[core] Rename ALWAYS_INLINE to ESPHOME_ALWAYS_INLINE (#6636)

This commit is contained in:
tomaszduda23
2024-05-05 21:52:47 +02:00
committed by GitHub
parent ccbf5148aa
commit f1584205af
5 changed files with 44 additions and 42 deletions

View File

@@ -24,7 +24,7 @@
#define HOT __attribute__((hot))
#define ESPDEPRECATED(msg, when) __attribute__((deprecated(msg)))
#define ALWAYS_INLINE __attribute__((always_inline))
#define ESPHOME_ALWAYS_INLINE __attribute__((always_inline))
#define PACKED __attribute__((packed))
// Various functions can be constexpr in C++14, but not in C++11 (because their body isn't just a return statement).