alef 0.25.39

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
    const _handle = {{ c_call }};
    if (_handle == null) return _first_error(anyerror);
    return .{ ._handle = @as(*c.{{ upper_prefix }}{{ type_name }}, @ptrCast(_handle.?)) };
}