Function bp7::ffi::buffer_free

source ·
#[no_mangle]
pub unsafe extern "C" fn buffer_free(buf: *mut Buffer)
Expand description

Free the memory of a given buffer.

Safety

Should only be called from FFI interface. This function can lead to UB as pointer cannot be validated!