From 172baf2ef8c4a32f0195c63ad063813db38b1daa Mon Sep 17 00:00:00 2001 From: Brandon Dyck Date: Sun, 9 Jan 2022 15:38:17 -0700 Subject: [PATCH] Make both wrapper structs extern --- lib/minifb/src/minifb.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/minifb/src/minifb.zig b/lib/minifb/src/minifb.zig index 61187fc..1029489 100644 --- a/lib/minifb/src/minifb.zig +++ b/lib/minifb/src/minifb.zig @@ -24,7 +24,7 @@ pub const KeyMod = packed struct { }; pub fn Window(comptime TUserData: type) type { - return packed struct { + return extern struct { cwin: *c.mfb_window, pub const UpdateError = error{