Function tor_util::ffi::rust_str_free [] [src]

#[no_mangle]
pub unsafe extern fn rust_str_free(_str: RustString)

Free the passed RustString (rust_str_t in C), to be used in place of tor_free().

Examples

rust_str_t r_s = rust_welcome_string();
rust_str_free(r_s);