Skip to main content

fz_set_warning_callback

Function fz_set_warning_callback 

Source
pub unsafe extern "C" fn fz_set_warning_callback(
    ctx: *mut fz_context,
    warning_cb: fz_warning_cb,
    user: *mut c_void,
)
Expand description

Set the warning callback. This will be called as part of the
exception handling.

The callback must not throw exceptions!