Function imageflow::imageflow_context_print_and_exit_if_error
[−]
[src]
#[no_mangle]pub unsafe extern fn imageflow_context_print_and_exit_if_error(context: *mut Context)
-> bool
Prints the error to stderr and exits the process if an error has been raised on the context. If no error is present, the function returns false.
Behavior is undefined if context
is a null or invalid ptr; segfault likely.
THIS PRINTS DIRECTLY TO STDERR! Do not use in any kind of service! Command-line usage only!