alef 0.25.37

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
    var _out_error: [*c]u8 = null;
    const _rc = {{ c_clear }}(&_out_error);
    if (_out_error != null) _free_string(_out_error);
    if (_rc != 0 or c.{{ ffi_prefix }}_last_error_code() != 0) {
        return _first_error({{ error_type }});
    }