opj_msg_callback

Type Alias 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

§Arguments

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

Aliased Type§

pub 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.