![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Panic. More...


Go to the source code of this file.
Namespaces | |
| namespace | roc |
| Root namespace. | |
| namespace | roc::core |
| General-purpose building blocks and platform abstraction layer. | |
Macros | |
| #define | roc_panic_if(x) |
| Panic if condition is true. | |
| #define | roc_panic_if_not(x) roc_panic_if(!(x)) |
| Panic if condition is false. | |
| #define | roc_panic_if_msg(x, ...) |
| Panic if condition is true, printing custom message. | |
| #define | roc_panic(...) ::roc::core::panic(ROC_STRINGIZE(ROC_MODULE), __FILE__, __LINE__, __VA_ARGS__) |
| Print error message and terminate program gracefully. | |
Functions | |
| void | roc::core::panic (const char *module, const char *file, int line, const char *format,...) |
| Print error message and terminate program gracefully. | |
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.