Function openjpeg_sys::opj_set_warning_handler

source ยท
pub unsafe extern "C" fn opj_set_warning_handler(
    p_codec: *mut opj_codec_t,
    p_callback: opj_msg_callback,
    p_user_data: *mut c_void,
) -> OPJ_BOOL
Expand description

Set the warning handler use by openjpeg.

  • p_codec โ€” the codec previously initialise
  • p_callback โ€” the callback function which will be used
  • p_user_data โ€” client object where will be returned the message