pub struct CStrArray { /* private fields */ }
Implementations§
Source§impl CStrArray
impl CStrArray
Sourcepub unsafe fn from_ptr<'a>(ptr: *const *const c_char) -> &'a CStrArray
pub unsafe fn from_ptr<'a>(ptr: *const *const c_char) -> &'a CStrArray
Turns a pointer to a NULL-terminated array of NUL-terminated strings into a CStrArray
.
§Safety
The pointer must point to a NULL-terminated array of NUL-terminated strings.