mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-20 04:05:00 +08:00
wikiheaders: Defines directly following a non-struct typedef are documented.
The idea is that if you have a `typedef Uint32 MyFlags` that has a bunch of defines that are meant to be bitflags, you can pack them into the same wiki page automatically. This only works with `typedef`s that are _not_ struct/union/enums, and it only pulls in `#define` lines that immediately follow the typedef line. Even a blank line or a comment will signal to stop including lines for this page!
This commit is contained in:
@@ -131,7 +131,6 @@ typedef struct SDL_Window SDL_Window;
|
||||
* \sa SDL_GetWindowFlags
|
||||
*/
|
||||
typedef Uint32 SDL_WindowFlags;
|
||||
|
||||
#define SDL_WINDOW_FULLSCREEN 0x00000001U /**< window is in fullscreen mode */
|
||||
#define SDL_WINDOW_OPENGL 0x00000002U /**< window usable with OpenGL context */
|
||||
#define SDL_WINDOW_OCCLUDED 0x00000004U /**< window is occluded */
|
||||
|
||||
Reference in New Issue
Block a user