![]() |
![]() |
![]() |
PolicyKit Library Reference Manual | ![]() |
---|---|---|---|---|
#define KIT_BEGIN_DECLS #define KIT_END_DECLS typedef kit_bool_t; void kit_print_backtrace (void); #define kit_assert (expr) #define kit_return_if_fail (expr) #define kit_return_val_if_fail (expr,val)
void kit_print_backtrace (void);
Print a back trace if built with -rdynamic or similar.
#define kit_assert(expr)
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.
|
expression |
#define kit_return_val_if_fail(expr,val)
|
expression |
|
the value to return if the expression evaluates does not evaluate to TRUE |