pub fn cstr_to_pathbuf(path: *const c_char) -> Result<PathBuf>
Expand description

Converts a C string to a PathBuf.

XXX: Currently, if the given string is not encoded using UTF-8, this will fail with RNP_ERROR_BAD_PARAMETERS.