From 4fa821cb3e93025a139618d63dc2d956eda8b6ff Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Thu, 19 Oct 2023 05:14:13 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- include/SDL3/SDL_properties.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/include/SDL3/SDL_properties.h b/include/SDL3/SDL_properties.h index 5cba83f8d4..b3a0851ff0 100644 --- a/include/SDL3/SDL_properties.h +++ b/include/SDL3/SDL_properties.h @@ -119,7 +119,12 @@ extern DECLSPEC int SDLCALL SDL_SetProperty(SDL_PropertiesID props, const char * * \param name the name of the property to query * \returns the value of the property, or NULL if it is not set. * - * \threadsafety It is safe to call this function from any thread, although the data returned is not protected and could potentially be freed if you call SDL_SetProperty() on this set of properties or destroy this set of properties from another thread. If you need to avoid this, use SDL_LockProperties() and SDL_UnlockProperties(). + * \threadsafety It is safe to call this function from any thread, although + * the data returned is not protected and could potentially be + * freed if you call SDL_SetProperty() on this set of properties + * or destroy this set of properties from another thread. If you + * need to avoid this, use SDL_LockProperties() and + * SDL_UnlockProperties(). * * \since This function is available since SDL 3.0.0. * @@ -151,7 +156,8 @@ extern DECLSPEC int SDLCALL SDL_ClearProperty(SDL_PropertiesID props, const char * * \param props the properties to destroy * - * \threadsafety This function should not be called while other threads might be setting or getting values from this set of properties. + * \threadsafety This function should not be called while other threads might + * be setting or getting values from this set of properties. * * \since This function is available since SDL 3.0.0. *