Go to the source code of this file.
|
#define | likely(x) (x) |
| Tell the branch predictor that this expression is likely true. More...
|
|
#define | unlikely(x) (x) |
| Tell the branch predictor that this expression is likely false. More...
|
|
#define | SMASH_UNUSED(x) (void)(x) |
| Mark as unused, silencing compiler warnings. More...
|
|
#define | SMASH_DEPRECATED(msg) __attribute__((deprecated(msg))) |
| Mark as deprecated, generating compiler warnings when used. More...
|
|
Tell the branch predictor that this expression is likely true.
Definition at line 14 of file macros.h.
#define unlikely |
( |
|
x | ) |
(x) |
Tell the branch predictor that this expression is likely false.
Definition at line 16 of file macros.h.
#define SMASH_UNUSED |
( |
|
x | ) |
(void)(x) |
Mark as unused, silencing compiler warnings.
This is useful for unused arguments.
Definition at line 24 of file macros.h.
#define SMASH_DEPRECATED |
( |
|
msg | ) |
__attribute__((deprecated(msg))) |
Mark as deprecated, generating compiler warnings when used.
Definition at line 27 of file macros.h.