|
PatchworkOS
|
Defines. More...
Macros | |
| #define | ALIGNED(alignment) __attribute__((aligned(alignment))) |
| GCC aligned attribute. | |
| #define | PACKED __attribute__((packed)) |
| GCC packed attribute. | |
| #define | NORETURN __attribute__((noreturn)) |
| GCC noreturn function attribute. | |
| #define | NOINLINE __attribute__((noinline)) |
| GCC noinline function attribute. | |
| #define | CONST_FUNC __attribute__((const)) |
| GCC const function attribute. | |
| #define | PURE_FUNC __attribute__((pure)) |
| GCC. | |
| #define | CONCAT(a, b) CONCAT_INNER(a, b) |
| Concatenates two tokens. | |
| #define | CONCAT_INNER(a, b) a##b |
| Inner helper macro for token concatenation. | |
Defines.
| #define ALIGNED | ( | alignment | ) | __attribute__((aligned(alignment))) |
| #define CONCAT | ( | a, | |
| b | |||
| ) | CONCAT_INNER(a, b) |
| #define CONCAT_INNER | ( | a, | |
| b | |||
| ) | a##b |
| #define CONST_FUNC __attribute__((const)) |
| #define NOINLINE __attribute__((noinline)) |
| #define NORETURN __attribute__((noreturn)) |
| #define PACKED __attribute__((packed)) |