Type Alias openjpeg_sys::opj_msg_callback

source ·
pub type opj_msg_callback = Option<unsafe extern "C" fn(msg: *const c_char, client_data: *mut c_void)>;
Expand description

Callback function prototype for events

  • msg — Event message
  • client_data — Client object where will be return the event message

Aliased Type§

enum opj_msg_callback {
    None,
    Some(unsafe extern "C" fn(_: *const i8, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const i8, _: *mut c_void))

Some value of type T.