|
Midnight Sun Firmware
|
Loading...
Searching...
No Matches
24#define SIZEOF_ARRAY(arr) (sizeof((arr)) / sizeof((arr)[0]))
25#define SIZEOF_FIELD(type, field) (sizeof(((type *)0)->field))
26#define SWAP_UINT16(x) (uint16_t)(((uint16_t)(x) >> 8) | ((uint16_t)(x) << 8))
28#define STRINGIFY_(x) #x
29#define STRINGIFY(x) STRINGIFY_(x)
33 __typeof__(a) _a = (a); \
34 __typeof__(b) _b = (b); \
40 __typeof__(a) _a = (a); \
41 __typeof__(b) _b = (b); \