libvisual
0.5.0
|
Typedefs | |
typedef void(* | VisErrorHandlerFunc )(const char *error_msg, void *priv) |
Function signature and type for error handlers. More... | |
Functions | |
void | visual_error_raise (const char *error_msg) |
Raises an error in LV. More... | |
void | visual_error_set_handler (VisErrorHandlerFunc handler, void *priv) |
Sets the error handler callback. More... | |
typedef void(* VisErrorHandlerFunc)(const char *error_msg, void *priv) |
Function signature and type for error handlers.
error_msg | Error message |
priv | Optional private data passed to handler on invocation |
Definition at line 42 of file lv_error.h.
void visual_error_raise | ( | const char * | error_msg | ) |
Raises an error in LV.
Definition at line 37 of file lv_error.c.
void visual_error_set_handler | ( | VisErrorHandlerFunc | handler, |
void * | priv | ||
) |
Sets the error handler callback.
Use this to override LV's default error handler.
handler | Custom error handler |
priv | Optional private data to pass to handler on invocation |
Definition at line 46 of file lv_error.c.