Skip to content

Commit 5490c25

Browse files
Updates SDL_init.inc to 3.4.4
1 parent 65eef3e commit 5490c25

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

units/SDL3.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ interface
110110
{$I SDL_pen.inc} // 3.4.4
111111
{$I SDL_camera.inc} // 3.4.4
112112
{$I SDL_events.inc} // 3.4.4
113-
{$I SDL_init.inc} // 3.2.20
113+
{$I SDL_init.inc} // 3.4.4
114114
{$I SDL_gpu.inc} // 3.4.4
115115
{$I SDL_render.inc} // 3.4.4
116116
{$I SDL_clipboard.inc} // 3.4.4

units/SDL_init.inc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const
7979
* to run.
8080
*
8181
* See
82-
* [Main callbacks in SDL3](https://wiki.libsdl.org/SDL3/README/main-functions#main-callbacks-in-sdl3)
82+
* [Main callbacks in SDL3](https://wiki.libsdl.org/SDL3/README-main-functions#main-callbacks-in-sdl3)
8383
* for complete details.
8484
*
8585
* \since This enum is available since SDL 3.2.0.
@@ -204,6 +204,8 @@ type
204204
* \returns true on success or false on failure; call SDL_GetError() for more
205205
* information.
206206
*
207+
* \threadsafety This function should only be called on the main thread.
208+
*
207209
* \since This function is available since SDL 3.2.0.
208210
*
209211
* \sa SDL_SetAppMetadata
@@ -226,6 +228,8 @@ function SDL_Init(flags: TSDL_InitFlags): Boolean; cdecl;
226228
* \returns true on success or false on failure; call SDL_GetError() for more
227229
* information.
228230
*
231+
* \threadsafety This function should only be called on the main thread.
232+
*
229233
* \since This function is available since SDL 3.2.0.
230234
*
231235
* \sa SDL_Init
@@ -243,6 +247,8 @@ function SDL_InitSubSystem(flags: TSDL_InitFlags): Boolean; cdecl;
243247
*
244248
* \param flags any of the flags used by SDL_Init(); see SDL_Init for details.
245249
*
250+
* \threadsafety This function is not thread safe.
251+
*
246252
* \since This function is available since SDL 3.2.0.
247253
*
248254
* \sa SDL_InitSubSystem
@@ -258,6 +264,8 @@ procedure SDL_QuitSubSystem(flags: TSDL_InitFlags); cdecl;
258264
* \returns a mask of all initialized subsystems if `flags` is 0, otherwise it
259265
* returns the initialization status of the specified subsystems.
260266
*
267+
* \threadsafety This function is not thread safe.
268+
*
261269
* \since This function is available since SDL 3.2.0.
262270
*
263271
* \sa SDL_Init
@@ -277,6 +285,8 @@ function SDL_WasInit(flags: TSDL_InitFlags): TSDL_InitFlags; cdecl;
277285
* application is shutdown, but it is not wise to do this from a library or
278286
* other dynamically loaded code.
279287
*
288+
* \threadsafety This function should only be called on the main thread.
289+
*
280290
* \since This function is available since SDL 3.1.3.
281291
*
282292
* \sa SDL_Init

0 commit comments

Comments
 (0)