Type Alias libmimalloc_sys::mi_error_fun
source · pub type mi_error_fun = Option<unsafe extern "C" fn(code: c_int, arg: *mut c_void)>;
Expand description
Type of error callback functions. Must be thread-safe.
err
: Error code (seemi_register_error
for a list).arg
: Argument that was passed at registration to hold extra state.
Aliased Type§
enum mi_error_fun {
None,
Some(unsafe extern "C" fn(_: i32, _: *mut c_void)),
}