From 550c84b4dfc4f9f98d190e8c0e8714655f23b6a8 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Sun, 9 Jul 2023 20:50:16 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- include/SDL3/SDL_audio.h | 3 ++- include/SDL3/SDL_rwops.h | 3 ++- include/SDL3/SDL_surface.h | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/include/SDL3/SDL_audio.h b/include/SDL3/SDL_audio.h index 4326d0cbc6..1dd39fc6f9 100644 --- a/include/SDL3/SDL_audio.h +++ b/include/SDL3/SDL_audio.h @@ -640,7 +640,8 @@ extern DECLSPEC int SDLCALL SDL_PauseAudioDevice(SDL_AudioDeviceID dev); * ``` * * \param src The data source for the WAVE data - * \param freesrc if SDL_TRUE, calls SDL_RWclose() on `src` before returning, even in the case of an error + * \param freesrc if SDL_TRUE, calls SDL_RWclose() on `src` before returning, + * even in the case of an error * \param spec An SDL_AudioSpec that will be filled in with the wave file's * format details * \param audio_buf A pointer filled with the audio data, allocated by the diff --git a/include/SDL3/SDL_rwops.h b/include/SDL3/SDL_rwops.h index e8183e4fab..b3bc41c199 100644 --- a/include/SDL3/SDL_rwops.h +++ b/include/SDL3/SDL_rwops.h @@ -530,7 +530,8 @@ extern DECLSPEC int SDLCALL SDL_RWclose(SDL_RWops *context); * * \param src the SDL_RWops to read all available data from * \param datasize if not NULL, will store the number of bytes read - * \param freesrc if SDL_TRUE, calls SDL_RWclose() on `src` before returning, even in the case of an error + * \param freesrc if SDL_TRUE, calls SDL_RWclose() on `src` before returning, + * even in the case of an error * \returns the data, or NULL if there was an error. * * \since This function is available since SDL 3.0.0. diff --git a/include/SDL3/SDL_surface.h b/include/SDL3/SDL_surface.h index 6f34e47690..88cc6e0f05 100644 --- a/include/SDL3/SDL_surface.h +++ b/include/SDL3/SDL_surface.h @@ -228,7 +228,8 @@ extern DECLSPEC void SDLCALL SDL_UnlockSurface(SDL_Surface *surface); * will result in a memory leak. * * \param src the data stream for the surface - * \param freesrc if SDL_TRUE, calls SDL_RWclose() on `src` before returning, even in the case of an error + * \param freesrc if SDL_TRUE, calls SDL_RWclose() on `src` before returning, + * even in the case of an error * \returns a pointer to a new SDL_Surface structure or NULL if there was an * error; call SDL_GetError() for more information. *