Skip to main content

mlx_error_handler_func

Type Alias mlx_error_handler_func 

Source
pub type mlx_error_handler_func = Option<unsafe extern "C" fn(msg: *const c_char, data: *mut c_void)>;
Expand description

\defgroup mlx_error Error management / /**@{

Aliased Type§

pub enum mlx_error_handler_func {
    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.