[][src]Function openjpeg2_sys::opj_set_error_handler

pub unsafe extern "C" fn opj_set_error_handler(
    p_codec: *mut opj_codec_t,
    p_callback: opj_msg_callback,
    p_user_data: *mut c_void
) -> OPJ_BOOL

Set the error handler use by openjpeg. @param p_codec the codec previously initialise @param p_callback the callback function which will be used @param p_user_data client object where will be returned the message