GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Macros
gp_compiler.h File Reference

A compiler dependent macros. More...

Go to the source code of this file.

Macros

#define GP_WUR
 Expands to warn_unused_result attribute when supported by the compiler.
 
#define GP_FMT_PRINTF(fmt, list)
 Expands to format printf attribute when supported by the compiler.
 
#define GP_FMT_SCANF(fmt, list)
 Expands to format scanf attribute when supported by the compiler.
 
#define GP_IS_CONSTANT(x)   0
 Expands to __buildin_constant_p() if supported by the compiler.
 
#define GP_LIKELY(cond)   (cond)
 Expands to __buildin_expect() if supported by the compiler.
 
#define GP_UNLIKELY(cond)   (cond)
 Expands to __buildin_expect() if supported by the compiler.
 
#define GP_UNUSED(x)   x
 Expands to unused attribute if supported by the compiler.
 

Detailed Description

A compiler dependent macros.

Definition in file gp_compiler.h.