alef 0.23.33

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
    let {{ name }}_rs = if {{ name }}.is_null() {
        String::new()
    } else {
        std::ffi::CStr::from_ptr({{ name }}).to_string_lossy().into_owned()
    };