Skip to content

Commit 72ed7d0

Browse files
committed
Sync SDL3 wiki -> header
[ci skip]
1 parent 28e4269 commit 72ed7d0

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

include/SDL3/SDL_main.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,8 @@ extern "C" {
333333
* \returns SDL_APP_FAILURE to terminate with an error, SDL_APP_SUCCESS to
334334
* terminate with success, SDL_APP_CONTINUE to continue.
335335
*
336-
* \threadsafety This function is called once by SDL, at startup, on a single thread.
336+
* \threadsafety This function is called once by SDL, at startup, on a single
337+
* thread.
337338
*
338339
* \since This function is available since SDL 3.2.0.
339340
*

include/SDL3/SDL_mutex.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_TryLockMutex(SDL_Mutex *mutex) SDL_TRY_ACQU
380380
*
381381
* \param mutex the mutex to unlock.
382382
*
383-
* \threadsafety This call must be paired with a previous locking call on the same thread.
383+
* \threadsafety This call must be paired with a previous locking call on the
384+
* same thread.
384385
*
385386
* \since This function is available since SDL 3.2.0.
386387
*
@@ -627,7 +628,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_TryLockRWLockForWriting(SDL_RWLock *rwlock)
627628
*
628629
* \param rwlock the rwlock to unlock.
629630
*
630-
* \threadsafety This call must be paired with a previous locking call on the same thread.
631+
* \threadsafety This call must be paired with a previous locking call on the
632+
* same thread.
631633
*
632634
* \since This function is available since SDL 3.2.0.
633635
*

include/SDL3/SDL_thread.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetCurrentThreadPriority(SDL_ThreadPriority
461461
* function by its 'return', or -1 if the thread has been
462462
* detached or isn't valid, may be NULL.
463463
*
464-
* \threadsafety It is safe to call this function from any thread, but only
465-
* a single thread can wait any specific thread to finish.
464+
* \threadsafety It is safe to call this function from any thread, but only a
465+
* single thread can wait any specific thread to finish.
466466
*
467467
* \since This function is available since SDL 3.2.0.
468468
*
@@ -512,11 +512,11 @@ extern SDL_DECLSPEC SDL_ThreadState SDLCALL SDL_GetThreadState(SDL_Thread *threa
512512
*
513513
* It is safe to pass NULL to this function; it is a no-op.
514514
*
515-
* \threadsafety It is safe to call this function from any thread.
516-
*
517515
* \param thread the SDL_Thread pointer that was returned from the
518516
* SDL_CreateThread() call that started this thread.
519517
*
518+
* \threadsafety It is safe to call this function from any thread.
519+
*
520520
* \since This function is available since SDL 3.2.0.
521521
*
522522
* \sa SDL_CreateThread

0 commit comments

Comments
 (0)