driver_entry_point

Type Alias driver_entry_point 

Source
pub type driver_entry_point = Option<unsafe extern "C" fn(arg1: indigo_driver_action, arg2: *mut indigo_driver_info) -> indigo_result>;
Expand description

Device driver entry point prototype

Aliased Type§

pub enum driver_entry_point {
    None,
    Some(unsafe extern "C" fn(u32, *mut indigo_driver_info) -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u32, *mut indigo_driver_info) -> u32)

Some value of type T.