alef 0.72.0

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
                    if (out_error) |ptr| {
                        const _error = std.fmt.allocPrintSentinel(
                            std.heap.c_allocator,
                            "{s}",
                            .{@errorName(err)},
                            0,
                        ) catch null;
                        ptr.* = if (_error) |value| @ptrCast(value.ptr) else null;
                    }
                    return 1;