Function opaque_pointer::c::ref_str [−]
pub unsafe fn ref_str<'a>(
string: *const c_char
) -> Result<&'a str, PointerError>
👎 Deprecated since 0.8.1:
Use std::ffi::CStr
pub unsafe fn ref_str<'a>(
string: *const c_char
) -> Result<&'a str, PointerError>
Use std::ffi::CStr