From ad27d73a19d9d0fd43c9841b66878d8661af58b7 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Mon, 5 Aug 2024 16:03:59 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- include/SDL3/SDL_hints.h | 16 ++++++++-------- include/SDL3/SDL_log.h | 7 +++++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/include/SDL3/SDL_hints.h b/include/SDL3/SDL_hints.h index 3e9de6051..b7716da6b 100644 --- a/include/SDL3/SDL_hints.h +++ b/include/SDL3/SDL_hints.h @@ -4190,12 +4190,12 @@ extern SDL_DECLSPEC void SDLCALL SDL_ResetHints(void); * \param name the hint to query. * \returns the string value of a hint or NULL if the hint isn't set. * - * \threadsafety It is safe to call this function from any thread, however - * the return value only remains valid until the hint is - * changed; if another thread might do so, the app should - * supply locks and/or make a copy of the string. Note that - * using a hint callback instead is always thread-safe, as SDL - * holds a lock on the thread subsystem during the callback. + * \threadsafety It is safe to call this function from any thread, however the + * return value only remains valid until the hint is changed; if + * another thread might do so, the app should supply locks + * and/or make a copy of the string. Note that using a hint + * callback instead is always thread-safe, as SDL holds a lock + * on the thread subsystem during the callback. * * \since This function is available since SDL 3.0.0. * @@ -4232,8 +4232,8 @@ extern SDL_DECLSPEC SDL_bool SDLCALL SDL_GetHintBoolean(const char *name, SDL_bo * \param oldValue the previous hint value. * \param newValue the new value hint is to be set to. * - * \threadsafety This callback is fired from whatever thread is setting a - * new hint value. SDL holds a lock on the hint subsystem when + * \threadsafety This callback is fired from whatever thread is setting a new + * hint value. SDL holds a lock on the hint subsystem when * calling this callback. * * \since This datatype is available since SDL 3.0.0. diff --git a/include/SDL3/SDL_log.h b/include/SDL3/SDL_log.h index 2723b18f2..078ab9dbe 100644 --- a/include/SDL3/SDL_log.h +++ b/include/SDL3/SDL_log.h @@ -184,10 +184,13 @@ extern SDL_DECLSPEC void SDLCALL SDL_ResetLogPriorities(void); /** * Set the text prepended to log messages of a given priority. * - * By default SDL_LOG_PRIORITY_INFO and below have no prefix, and SDL_LOG_PRIORITY_WARN and higher have a prefix showing their priority, e.g. "WARNING: ". + * By default SDL_LOG_PRIORITY_INFO and below have no prefix, and + * SDL_LOG_PRIORITY_WARN and higher have a prefix showing their priority, e.g. + * "WARNING: ". * * \param priority the SDL_LogPriority to modify. - * \param prefix the prefix to use for that log priority, or NULL to use no prefix. + * \param prefix the prefix to use for that log priority, or NULL to use no + * prefix. * \returns 0 on success or a negative error code on failure; call * SDL_GetError() for more information. *