- Linux Training
- Desktop Tutorials
- Server Tutorials
|Internal API Reference - Macros|
|Desktop Apps Training - Policy Kit|
void kit_print_backtrace (void);
Print a back trace if built with -rdynamic or similar.
Debugging macro to terminate the application if the assertion fails. If the assertion fails (i.e. the expression is not true), an error message is logged and the application is terminated.
Returns from the current function if the expression is not true. If the expression evaluates to FALSE, an error message is logged and the function returns. This can only be used in functions which do not return a value.
Returns from the current function, returning the value val, if the expression is not true. If the expression evaluates to FALSE, an error message is logged and val is returned.