alef 0.20.4

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
if _out_result.is_null() {
    return Ok(String::new());
}
// SAFETY: out_result was written by the callee as a valid CString.
let cs = unsafe { std::ffi::CString::from_raw(_out_result) };
Ok(cs.to_string_lossy().into_owned())