BibleTime
Macros
macros.h File Reference

This file is for listing reusable macros used in the BibleTime source code. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LIKELY(c)   !!(c)
 Gives the compiler a hint that the given conditional is likely to evaluate to true. More...
 
#define UNLIKELY(c)   !!(c)
 Gives the compiler a hint that the given conditional is likely to evaluate to false. More...
 

Detailed Description

This file is for listing reusable macros used in the BibleTime source code.

Definition in file macros.h.

Macro Definition Documentation

◆ LIKELY

#define LIKELY (   c)    !!(c)

Gives the compiler a hint that the given conditional is likely to evaluate to true.

This helps GCC to generate code which is optimized in respect to branch prediction.

Definition at line 43 of file macros.h.

◆ UNLIKELY

#define UNLIKELY (   c)    !!(c)

Gives the compiler a hint that the given conditional is likely to evaluate to false.

This helps GCC to generate code which is optimized in respect to branch prediction.

Definition at line 44 of file macros.h.