get_c_str_safe

Function get_c_str_safe 

Source
unsafe fn get_c_str_safe(ptr: *const c_char) -> Option<&'static str>
Expand description

安全地获取C字符串