Function libmimalloc_sys::mi_register_output

source ·
pub unsafe extern "C" fn mi_register_output(
    out: mi_output_fun,
    arg: *mut c_void
)
Expand description

Register an output function.

  • out The output function, use None to output to stderr.
  • arg Argument that will be passed on to the output function.

The out function is called to output any information from mimalloc, like verbose or warning messages.

Note: This function is thread safe.