Skip to main content

muon_free

Function muon_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn muon_free(ptr: *mut u8, len: usize)
Expand description

Release a block previously returned by muon_alloc (same len).

ยงSafety

ptr/len must come from a prior muon_alloc(len) and not be freed twice.