Type Definition libmimalloc_sys::mi_deferred_free_fun
source · pub type mi_deferred_free_fun = Option<unsafe extern "C" fn(force: bool, heartbeat: c_ulonglong, arg: *mut c_void)>;Expand description
Type of deferred free functions. Must be thread-safe.
force: If true, all outstanding items should be freed.heartbeatA monotonically increasing count.argArgument that was passed at registration to hold extra state.