Added a note for the SDL_CommonEvent type

This commit is contained in:
Sam Lantinga
2024-03-14 09:00:47 -07:00
parent 209a87bf24
commit 6c11449cd4

View File

@@ -240,7 +240,7 @@ typedef enum
*/
typedef struct SDL_CommonEvent
{
Uint32 type;
Uint32 type; /**< Event type, shared with all events, Uint32 to cover user events which are not in the SDL_EventType enumeration */
Uint32 reserved;
Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */
} SDL_CommonEvent;