Merge commit '0a9a0a79e0a40a2843c1f6d33f7fa45bb1042fc0' into main
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
diff --git a/include/SDL_main.h b/include/SDL_main.h
index ea12136..1af74e9 100644
--- a/include/SDL_main.h
+++ b/include/SDL_main.h
@@ -245,6 +245,8 @@ extern DECLSPEC int SDLCALL SDL_UIKitRunApp(int argc, char *argv[], SDL_main_fun
* \param reserved reserved for future use; should be NULL
* \returns 0 on success or -1 on failure; call SDL_GetError() to retrieve
* more information on the failure.
+ *
+ * \since This function is available since SDL 2.24.0.
*/
extern DECLSPEC int SDLCALL SDL_GDKRunApp(SDL_main_func mainFunction, void *reserved);
diff --git a/include/SDL_system.h b/include/SDL_system.h
index 6780876..0edca63 100644
--- a/include/SDL_system.h
+++ b/include/SDL_system.h
@@ -598,13 +598,15 @@ typedef struct XTaskQueueObject * XTaskQueueHandle;
/**
* Gets a reference to the global async task queue handle for GDK,
* initializing if needed.
- *
- * Once you are done with the task queue, you should call XTaskQueueCloseHandle
- * to reduce the reference count to avoid a resource leak.
- *
+ *
+ * Once you are done with the task queue, you should call
+ * XTaskQueueCloseHandle to reduce the reference count to avoid a resource
+ * leak.
+ *
* \param outTaskQueue a pointer to be filled in with task queue handle.
* \returns 0 if success, -1 if any error occurs.
- *
+ *
+ * \since This function is available since SDL 2.24.0.
*/
extern DECLSPEC int SDLCALL SDL_GDKGetTaskQueue(XTaskQueueHandle * outTaskQueue);