attributes.h File Reference

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

Go to the source code of this file.

Macros

#define AV_GCC_VERSION_AT_LEAST(x, y)   0
#define av_always_inline   inline
#define av_noinline
#define av_pure
#define av_const
#define av_cold
#define av_flatten
#define attribute_deprecated
#define av_unused
#define av_used
 Mark a variable as used and prevent the compiler from optimizing it away.
#define av_alias
#define av_uninit(x)   x
#define av_builtin_constant_p(x)   0
#define av_printf_format(fmtpos, attrpos)

Detailed Description

Macro definitions for various function/variable attributes.

Definition in file attributes.h.

Macro Definition Documentation

#define attribute_deprecated

Definition at line 87 of file attributes.h.

#define av_alias

Definition at line 116 of file attributes.h.

#define av_always_inline   inline

Definition at line 39 of file attributes.h.

#define av_builtin_constant_p (   x)    0

Definition at line 132 of file attributes.h.

Referenced by cmp().

#define av_cold

Definition at line 71 of file attributes.h.

#define av_const

Definition at line 63 of file attributes.h.

#define av_flatten

Definition at line 79 of file attributes.h.

#define AV_GCC_VERSION_AT_LEAST (   x,
 
)    0

Definition at line 32 of file attributes.h.

#define av_noinline

Definition at line 47 of file attributes.h.

#define av_printf_format (   fmtpos,
  attrpos 
)

Definition at line 133 of file attributes.h.

#define av_pure

Definition at line 55 of file attributes.h.

#define av_used

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 108 of file attributes.h.