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. More...
 
#define av_alias
 
#define av_uninit(x)   x
 
#define av_builtin_constant_p(x)   0
 
#define av_printf_format(fmtpos, attrpos)
 
#define av_noreturn
 

Detailed Description

Macro definitions for various function/variable attributes.

Definition in file attributes.h.

Macro Definition Documentation

◆ AV_GCC_VERSION_AT_LEAST

#define AV_GCC_VERSION_AT_LEAST (   x,
 
)    0

Definition at line 32 of file attributes.h.

◆ av_always_inline

#define av_always_inline   inline

Definition at line 40 of file attributes.h.

◆ av_noinline

#define av_noinline

Definition at line 48 of file attributes.h.

◆ av_pure

#define av_pure

Definition at line 54 of file attributes.h.

◆ av_const

#define av_const

Definition at line 60 of file attributes.h.

Referenced by av_inv_q().

◆ av_cold

#define av_cold

Definition at line 66 of file attributes.h.

◆ av_flatten

#define av_flatten

Definition at line 72 of file attributes.h.

◆ attribute_deprecated

#define attribute_deprecated

Definition at line 80 of file attributes.h.

◆ av_unused

#define av_unused

Definition at line 86 of file attributes.h.

◆ av_used

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

◆ av_alias

#define av_alias

Definition at line 103 of file attributes.h.

◆ av_uninit

#define av_uninit (   x)    x

Definition at line 109 of file attributes.h.

◆ av_builtin_constant_p

#define av_builtin_constant_p (   x)    0

Definition at line 116 of file attributes.h.

◆ av_printf_format

#define av_printf_format (   fmtpos,
  attrpos 
)

Definition at line 117 of file attributes.h.

Referenced by avio_tell().

◆ av_noreturn

#define av_noreturn

Definition at line 123 of file attributes.h.