PulseAudio  5.0
gccmacro.h File Reference

GCC attribute macros. More...

Go to the source code of this file.

Macros

#define PA_GCC_PRINTF_ATTR(a, b)
 If we're in GNU C, use some magic for detecting invalid format strings. More...
 
#define PA_GCC_SENTINEL
 Macro for usage of GCC's sentinel compilation warnings. More...
 
#define PA_GCC_NORETURN
 Macro for no-return functions. More...
 
#define PA_GCC_UNUSED
 Macro for not used function, variable or parameter. More...
 
#define PA_GCC_DESTRUCTOR
 Call this function when process terminates. More...
 
#define PA_GCC_PURE
 This function's return value depends only the arguments list and global state. More...
 
#define PA_GCC_CONST
 This function's return value depends only the arguments list (stricter version of PA_GCC_PURE) More...
 
#define PA_GCC_DEPRECATED
 This function is deprecated. More...
 
#define PA_GCC_PACKED
 Structure shall be packed in memory. More...
 
#define PA_GCC_ALLOC_SIZE(x)
 Macro for usage of GCC's alloc_size attribute. More...
 
#define PA_GCC_ALLOC_SIZE2(x, y)
 Macro for usage of GCC's alloc_size attribute. More...
 
#define PA_GCC_MALLOC
 Macro for usage of GCC's malloc attribute. More...
 

Detailed Description

GCC attribute macros.

Macro Definition Documentation

#define PA_GCC_ALLOC_SIZE (   x)

Macro for usage of GCC's alloc_size attribute.

#define PA_GCC_ALLOC_SIZE2 (   x,
 
)

Macro for usage of GCC's alloc_size attribute.

#define PA_GCC_CONST

This function's return value depends only the arguments list (stricter version of PA_GCC_PURE)

#define PA_GCC_DEPRECATED

This function is deprecated.

#define PA_GCC_DESTRUCTOR

Call this function when process terminates.

#define PA_GCC_MALLOC

Macro for usage of GCC's malloc attribute.

#define PA_GCC_NORETURN

Macro for no-return functions.

#define PA_GCC_PACKED

Structure shall be packed in memory.

#define PA_GCC_PRINTF_ATTR (   a,
 
)

If we're in GNU C, use some magic for detecting invalid format strings.

#define PA_GCC_PURE

This function's return value depends only the arguments list and global state.

#define PA_GCC_SENTINEL

Macro for usage of GCC's sentinel compilation warnings.

#define PA_GCC_UNUSED

Macro for not used function, variable or parameter.