[][src]Function glean_ffi::glean_str_free

#[no_mangle]pub unsafe extern "C" fn glean_str_free(s: *mut c_char)

Public destructor for strings managed by the other side of the FFI.

Safety

This will free the string pointer it gets passed in as an argument, and thus can be wildly unsafe if misused.

See the documentation of ffi_support::destroy_c_string and ffi_support::define_string_destructor! for further info.