Skip to main content

mi_memory_tracking_set_enabled

Function mi_memory_tracking_set_enabled 

Source
pub unsafe extern "C" fn mi_memory_tracking_set_enabled(
    enabled: bool,
) -> bool
Expand description

Mirrors mi_memory_tracking_set_enabled; returns the previous state. An explicit call is always authoritative over the MIMALLOC_MEMORY_EVENTS environment read.