This commit is contained in:
Richard Feldman 2022-02-01 08:36:19 -05:00
parent e47e556dda
commit c21741a7e0
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
2 changed files with 2 additions and 3 deletions

View file

@ -319,10 +319,9 @@ const CSlice = extern struct {
len: usize,
};
pub fn getExpectFailuresC() callconv(.C) CSlice {
var bytes = @ptrCast(*c_void, failures);
return .{.pointer = bytes, .len = failure_length};
return .{ .pointer = bytes, .len = failure_length };
}
pub fn deinitFailures() void {