#include <FakePgmSpace.h>
#include <cassert>
#include <stringutil.h>
Go to the source code of this file.
◆ ALIGNUP4
#define ALIGNUP4 |
( |
|
n | ) |
(((n) + 3) & ~3) |
Align a size up to the nearest word boundary.
◆ FSTR_ALIGNED
#define FSTR_ALIGNED __attribute__((aligned(4))) |
◆ FSTR_CONSTEXPR
#define FSTR_CONSTEXPR constexpr |
◆ FSTR_INLINE
#define FSTR_INLINE __attribute__((always_inline)) inline |
◆ FSTR_NOINLINE
#define FSTR_NOINLINE __attribute__((noinline)) |
◆ FSTR_PACKED
#define FSTR_PACKED __attribute__((packed)) |
◆ FSTR_VA_NARGS
#define FSTR_VA_NARGS |
( |
|
type_, |
|
|
|
... |
|
) |
| (sizeof((const type_[]){__VA_ARGS__}) / sizeof(type_)) |