Skip to main content

diffsol_free

Function diffsol_free 

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

Free aligned memory allocated by diffsol_alloc

ยงSafety

ptr must be either null or a pointer returned by diffsol_alloc with the same size and align values.