Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Panic. More...
Go to the source code of this file.
Namespaces | |
roc | |
Root namespace. | |
roc::core | |
General-purpose building blocks and platform abstraction layer. | |
Macros | |
#define | roc_panic_if(x) |
Panic if condition is true. More... | |
#define | roc_panic_if_not(x) roc_panic_if(!(x)) |
Panic if condition is false. More... | |
#define | roc_panic_if_msg(x, ...) |
Panic if condition is true, printing custom message. More... | |
#define | roc_panic(...) ::roc::core::panic(ROC_STRINGIZE(ROC_MODULE), __FILE__, __LINE__, __VA_ARGS__) |
Print error message and terminate program gracefully. More... | |
Functions | |
void | roc::core::panic (const char *module, const char *file, int line, const char *format,...) |
Print error message and terminate program gracefully. More... | |
Panic.
Definition in file panic.h.
#define roc_panic | ( | ... | ) | ::roc::core::panic(ROC_STRINGIZE(ROC_MODULE), __FILE__, __LINE__, __VA_ARGS__) |
#define roc_panic_if | ( | x | ) |
Panic if condition is true.
#define roc_panic_if_msg | ( | x, | |
... | |||
) |
#define roc_panic_if_not | ( | x | ) | roc_panic_if(!(x)) |
Panic if condition is false.