Mercurial > sdl-ios-xcode
comparison include/SDL_syswm.h @ 4902:50d0bff24d81
Make the union nameless to reduce the complexity of the API.
(Are there any compilers still in use that don't support this?)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 29 Sep 2010 21:13:52 -0700 |
parents | 69d9db65f248 |
children | f50c7996d925 |
comparison
equal
deleted
inserted
replaced
4901:deadc1219bea | 4902:50d0bff24d81 |
---|---|
131 struct | 131 struct |
132 { | 132 { |
133 /* No Cocoa window events yet */ | 133 /* No Cocoa window events yet */ |
134 } cocoa; | 134 } cocoa; |
135 #endif | 135 #endif |
136 } msg; | 136 } /*msg*/; |
137 }; | 137 }; |
138 | 138 |
139 /** | 139 /** |
140 * The custom window manager information structure. | 140 * The custom window manager information structure. |
141 * | 141 * |
173 struct | 173 struct |
174 { | 174 { |
175 NSWindow *window; | 175 NSWindow *window; |
176 } cocoa; | 176 } cocoa; |
177 #endif | 177 #endif |
178 } info; | 178 } /*info*/; |
179 }; | 179 }; |
180 | 180 |
181 #endif /* SDL_PROTOTYPES_ONLY */ | 181 #endif /* SDL_PROTOTYPES_ONLY */ |
182 | 182 |
183 typedef struct SDL_SysWMinfo SDL_SysWMinfo; | 183 typedef struct SDL_SysWMinfo SDL_SysWMinfo; |