Make both wrapper structs extern

This commit is contained in:
Brandon Dyck 2022-01-09 15:38:17 -07:00
parent ac2f09d9cf
commit 172baf2ef8

View File

@ -24,7 +24,7 @@ pub const KeyMod = packed struct {
}; };
pub fn Window(comptime TUserData: type) type { pub fn Window(comptime TUserData: type) type {
return packed struct { return extern struct {
cwin: *c.mfb_window, cwin: *c.mfb_window,
pub const UpdateError = error{ pub const UpdateError = error{