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