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:
Sam Lantinga 2010-09-29 21:13:52 -07:00
parent 51b19abe02
commit 3189c43f85
6 changed files with 11 additions and 11 deletions

View file

@ -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 */