|
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Panic function. More...
Go to the source code of this file.
Namespaces | |
| roc | |
| Root namespace. | |
| roc::core | |
| Basic building blocks. | |
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(...) ::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,...) ROC_ATTR_NORETURN ROC_ATTR_PRINTF(4 |
| Print error message and terminate program gracefully. More... | |
Panic function.
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_not | ( | x | ) | roc_panic_if(!(x)) |
Panic if condition is false.