Function mupdf_sys::fz_set_error_callback [−][src]
pub unsafe extern "C" fn fz_set_error_callback(
ctx: *mut fz_context,
print: Option<unsafe extern "C" fn(user: *mut c_void, message: *const c_char)>,
user: *mut c_void
)
Set the error callback. This will be called as part of the exception handling.
The callback must not throw exceptions!