[][src]Type Definition libmimalloc_sys::mi_error_fun

type mi_error_fun = Option<unsafe extern "C" fn(code: c_int, arg: *mut c_void)>;

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