PatchworkOS
Loading...
Searching...
No Matches
defs.h File Reference
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

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.