From 6c11449cd44756f058fbdd8a79a4c1df1a85754a Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 14 Mar 2024 09:00:47 -0700 Subject: [PATCH] Added a note for the SDL_CommonEvent type --- include/SDL3/SDL_events.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_events.h b/include/SDL3/SDL_events.h index 61dd41d632..581af30101 100644 --- a/include/SDL3/SDL_events.h +++ b/include/SDL3/SDL_events.h @@ -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;