Version: SMASH-3.1
macros.h File Reference

Go to the source code of this file.

Macros

#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_DEPRECATED(msg)   __attribute__((deprecated(msg)))
 Mark as deprecated, generating compiler warnings when used. More...
 

Macro Definition Documentation

◆ likely

#define likely (   x)    (x)

Tell the branch predictor that this expression is likely true.

Definition at line 14 of file macros.h.

◆ unlikely

#define unlikely (   x)    (x)

Tell the branch predictor that this expression is likely false.

Definition at line 16 of file macros.h.

◆ SMASH_DEPRECATED

#define SMASH_DEPRECATED (   msg)    __attribute__((deprecated(msg)))

Mark as deprecated, generating compiler warnings when used.

Definition at line 20 of file macros.h.