Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
attributes.h File Reference

GCC attributes. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define ROC_ATTR_NOTHROW   throw()
 Function never throws. More...
#define ROC_ATTR_NORETURN   __attribute__((noreturn))
 Function never returns. More...
#define ROC_ATTR_UNUSED   __attribute__((unused))
 Function or variable is never used but no warning should be generated. More...
#define ROC_ATTR_PACKED   __attribute__((packed))
 Structure's fields are packed. More...
#define ROC_ATTR_PRINTF(n_fmt_arg, n_var_arg)   __attribute__((format(printf, n_fmt_arg, n_var_arg)))
 Function gets printf-like arguments. More...

Detailed Description

GCC attributes.

Definition in file attributes.h.

Macro Definition Documentation

#define ROC_ATTR_NORETURN   __attribute__((noreturn))

Function never returns.

Definition at line 19 of file attributes.h.

#define ROC_ATTR_NOTHROW   throw()

Function never throws.

Definition at line 16 of file attributes.h.

#define ROC_ATTR_PACKED   __attribute__((packed))

Structure's fields are packed.

Definition at line 25 of file attributes.h.

#define ROC_ATTR_PRINTF (   n_fmt_arg,
)    __attribute__((format(printf, n_fmt_arg, n_var_arg)))

Function gets printf-like arguments.

Definition at line 28 of file attributes.h.

#define ROC_ATTR_UNUSED   __attribute__((unused))

Function or variable is never used but no warning should be generated.

Definition at line 22 of file attributes.h.