#[no_mangle]
pub unsafe extern "C" fn verilization_mem_free(
size: usize,
ptr: *mut u8,
)
Expand description
Free a block of memory.
Used to free a block of memory allocated by verilization_mem_alloc
.
Some values returned by functions should be freed using this function as well.
The size must be the same size used to allocate the memory.