ifc_lite_free

Function ifc_lite_free 

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

Free a buffer previously returned by ifc_lite_parse or ifc_lite_parse_ex.

ยงSafety

ptr and len must be exactly a pointer and length written by a parse function that returned 0; any other length deallocates with the wrong layout. Must not be called more than once for the same buffer. A null ptr or a len of 0 is a no-op.