Function verilization_bindings_c_api_core::verilization_mem_free [−][src]
#[no_mangle] pub unsafe extern "C" fn verilization_mem_free(size: usize, ptr: *mut u8)
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.