pub type constructor = Option<unsafe extern "C" fn(prefix: *mut c_char, arg: *mut c_char) -> c_int>;
Expand description
HAL ‘constructor’ typedef If it is not NULL, this points to a function which can construct a new instance of its component. Return value is >=0 for success, <0 for error.
Aliased Type§
pub enum constructor {
None,
Some(unsafe extern "C" fn(*mut i8, *mut i8) -> i32),
}