Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Compiler attributes. More...
#include <hedley.h>
Go to the source code of this file.
Macros | |
#define | ROC_ATTR_EXPORT HEDLEY_PUBLIC |
Explicitly specify a default visibility for a specific symbol. More... | |
#define | ROC_ATTR_UNREACHABLE_RETURN HEDLEY_UNREACHABLE_RETURN |
Declares that the return operator is not reachable. More... | |
#define | ROC_ATTR_NORETURN HEDLEY_NO_RETURN |
Function never returns. More... | |
#define | ROC_ATTR_NODISCARD HEDLEY_WARN_UNUSED_RESULT |
Emit warning if function result is not checked. More... | |
#define | ROC_ATTR_PRINTF(fmt_pos, args_pos) HEDLEY_PRINTF_FORMAT(fmt_pos, args_pos) |
Function gets printf-like arguments. More... | |
#define | ROC_ATTR_UNUSED |
Function or variable is never used but no warning should be generated. More... | |
#define | ROC_ATTR_PACKED_BEGIN |
Pack structure fields. Place these before class or struct keyword. More... | |
#define | ROC_ATTR_PACKED_END |
Pack structure fields. Place these between '}' and ';'. More... | |
#define | ROC_ATTR_NO_SANITIZE_UB |
Suppress undefined behavior sanitizer for a particular function. More... | |
Compiler attributes.
Definition in file attributes.h.
#define ROC_ATTR_EXPORT HEDLEY_PUBLIC |
Explicitly specify a default visibility for a specific symbol.
Definition at line 18 of file attributes.h.
#define ROC_ATTR_NO_SANITIZE_UB |
Suppress undefined behavior sanitizer for a particular function.
Definition at line 74 of file attributes.h.
#define ROC_ATTR_NODISCARD HEDLEY_WARN_UNUSED_RESULT |
Emit warning if function result is not checked.
Definition at line 31 of file attributes.h.
#define ROC_ATTR_NORETURN HEDLEY_NO_RETURN |
Function never returns.
Definition at line 24 of file attributes.h.
#define ROC_ATTR_PACKED_BEGIN |
Pack structure fields. Place these before class or struct keyword.
Definition at line 55 of file attributes.h.
#define ROC_ATTR_PACKED_END |
Pack structure fields. Place these between '}' and ';'.
Definition at line 58 of file attributes.h.
#define ROC_ATTR_PRINTF | ( | fmt_pos, | |
args_pos | |||
) | HEDLEY_PRINTF_FORMAT(fmt_pos, args_pos) |
Function gets printf-like arguments.
Definition at line 35 of file attributes.h.
#define ROC_ATTR_UNREACHABLE_RETURN HEDLEY_UNREACHABLE_RETURN |
Declares that the return operator is not reachable.
Definition at line 21 of file attributes.h.
#define ROC_ATTR_UNUSED |
Function or variable is never used but no warning should be generated.
Definition at line 42 of file attributes.h.