Make the union nameless to reduce the complexity of the API.
(Are there any compilers still in use that don't support this?)
This commit is contained in:
parent
51b19abe02
commit
3189c43f85
6 changed files with 11 additions and 11 deletions
|
@ -133,7 +133,7 @@ struct SDL_SysWMmsg
|
|||
/* No Cocoa window events yet */
|
||||
} cocoa;
|
||||
#endif
|
||||
} msg;
|
||||
} /*msg*/;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -175,7 +175,7 @@ struct SDL_SysWMinfo
|
|||
NSWindow *window;
|
||||
} cocoa;
|
||||
#endif
|
||||
} info;
|
||||
} /*info*/;
|
||||
};
|
||||
|
||||
#endif /* SDL_PROTOTYPES_ONLY */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue