Skip to main content

diffsol_free_string

Function diffsol_free_string 

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

Free memory allocated by diffsol_alloc_string

ยงSafety

ptr must be either null or a pointer returned by diffsol_alloc_string with the same size.