pub(crate) fn optional_str_to_c_ptr(s: Option<&str>) -> SzResult<*const c_char>
Converts an optional Rust string to a C string pointer