alef 0.114.0

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
    const _handle = c.{{ prefix }}_{{ type_snake }}_new({{ c_args }});
    if (_handle == 0) return {{ null_return }};
    return .{ ._handle = _handle };
}