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.
  • heartbeat A monotonically increasing count.
  • arg Argument that was passed at registration to hold extra state.

See mi_register_deferred_free