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 (see mi_register_error for a list).
  • arg: Argument that was passed at registration to hold extra state.

See mi_register_error

Aliased Type§

enum mi_error_fun {
    // some variants omitted
}

Variants§