Type Alias alpm_sys::alpm_cb_event
source · pub type alpm_cb_event = Option<unsafe extern "C" fn(ctx: *mut c_void, arg1: *mut alpm_event_t)>;
Expand description
Event callback.
Called when an event occurs @param ctx user-provided context @param event the event that occurred
Aliased Type§
enum alpm_cb_event {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: *mut _alpm_event_t)),
}