dc_event_callback_t

Type Alias dc_event_callback_t 

Source
pub type dc_event_callback_t = Option<unsafe extern "C" fn(device: *mut dc_device_t, event: dc_event_type_t, data: *const c_void, userdata: *mut c_void)>;

Aliased Type§

pub enum dc_event_callback_t {
    None,
    Some(unsafe extern "C" fn(*mut dc_device_t, u32, *const c_void, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut dc_device_t, u32, *const c_void, *mut c_void))

Some value of type T.