mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Sync SDL3 wiki -> header
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user