all: update to latest Zig APIs (zig fmt)

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-06-29 09:54:32 -07:00
parent d95a453e78
commit 4bc32adeb8
61 changed files with 806 additions and 806 deletions

View file

@ -64,7 +64,7 @@ pub fn save(self: M3d, quality: Quality, flags: Flags) Error![]u8 {
return if (c.m3d_save(
self.handle,
@intFromEnum(quality),
@bitCast(c_int, flags),
@as(c_int, @bitCast(flags)),
&size,
)) |res|
res[0..size]