Sync SDL3 wiki -> header

This commit is contained in:
SDL Wiki Bot
2024-05-22 00:41:09 +00:00
parent 95aa9a79a9
commit 983544a53e
7 changed files with 44 additions and 0 deletions

View File

@@ -303,6 +303,8 @@ typedef struct SDL_GamepadBinding
* \returns 1 if a new mapping is added, 0 if an existing mapping is updated,
* -1 on error; call SDL_GetError() for more information.
*
* \threadsafety It is safe to call this function from any thread.
*
* \since This function is available since SDL 3.0.0.
*
* \sa SDL_GetGamepadMapping
@@ -333,6 +335,8 @@ extern SDL_DECLSPEC int SDLCALL SDL_AddGamepadMapping(const char *mapping);
* \returns the number of mappings added or -1 on error; call SDL_GetError()
* for more information.
*
* \threadsafety It is safe to call this function from any thread.
*
* \since This function is available since SDL 3.0.0.
*
* \sa SDL_AddGamepadMapping
@@ -359,6 +363,8 @@ extern SDL_DECLSPEC int SDLCALL SDL_AddGamepadMappingsFromIO(SDL_IOStream *src,
* \returns the number of mappings added or -1 on error; call SDL_GetError()
* for more information.
*
* \threadsafety It is safe to call this function from any thread.
*
* \since This function is available since SDL 3.0.0.
*
* \sa SDL_AddGamepadMapping