Function c_str_to_sz_error

Source
pub(crate) unsafe fn c_str_to_sz_error(c_str: *const i8) -> SzError
Expand description

Utility function to convert C string errors to SzError (Internal)

ยงSafety

The caller must ensure that c_str is either null or points to a valid null-terminated C string.