Function glfw::string_from_nullable_c_str [−][src]
pub unsafe fn string_from_nullable_c_str(c_str: *const c_char) -> Option<String>
Expand description
Like string_from_c_str
, but handles null pointers correctly
pub unsafe fn string_from_nullable_c_str(c_str: *const c_char) -> Option<String>
Like string_from_c_str
, but handles null pointers correctly