Go to the documentation of this file.
28 #define LIKELY __attribute__((likely))
29 #define UNLIKELY __attribute__((unlikely))
30 #define DEPRECTATED(reason) __attribute__((deprecated))
31 #define NO_RETURN __attribute__((noreturn))
33 #define WEAK __attribute__((weak))
34 #define ALWAYS_INLINE __attribute__((always_inline)) inline
35 #define PACKED __attribute__((packed))
36 #define NAKED __attribute__((naked))
37 #define SECTION(name) __attribute__((section(name)))
38 #define ALIGNED(alignment) __attribute__((aligned(alignment)))
40 #if defined(__cplusplus)
41 #define C_LINKAGE extern "C"