Make both wrapper structs extern
This commit is contained in:
parent
ac2f09d9cf
commit
172baf2ef8
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user