Type Alias libmimalloc_sys::mi_output_fun

source ·
pub type mi_output_fun = Option<unsafe extern "C" fn(msg: *const c_char, arg: *mut c_void)>;
Expand description

An output callback. Must be thread-safe.

See mi_stats_print_out, mi_thread_stats_print_out, mi_register_output

Aliased Type§

enum mi_output_fun {
    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.