libavutil/attributes.h File Reference

Macro definitions for various function/variable attributes. More...

Go to the source code of this file.

Defines

#define AV_GCC_VERSION_AT_LEAST(x, y)   0
#define av_builtin_constant_p(x)   0
 Mark a variable as used and prevent the compiler from optimizing it away.
#define av_printf_format(fmtpos, attrpos)

Detailed Description

Macro definitions for various function/variable attributes.

Definition in file attributes.h.


Define Documentation

#define av_builtin_constant_p (   x)    0

Mark a variable as used and prevent the compiler from optimizing it away.

This is useful for variables accessed only from inline assembler without the compiler being aware.

Definition at line 132 of file attributes.h.

Referenced by cmp().

#define AV_GCC_VERSION_AT_LEAST (   x,
 
)    0

Definition at line 32 of file attributes.h.

#define av_printf_format (   fmtpos,
  attrpos 
)

Definition at line 133 of file attributes.h.