Function sourmash::ffi::utils::sourmash_str_from_cstr
source · #[no_mangle]
pub unsafe extern "C" fn sourmash_str_from_cstr(
s: *const c_char
) -> SourmashStr
Expand description
Creates a sourmash str from a c string.
This sets the string to owned. In case it’s not owned you either have to make sure you are not freeing the memory or you need to set the owned flag to false.