From 393acf6362be872eafa4d4c769f1d54eeaa5322c Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Tue, 25 Oct 2022 18:07:13 +0000 Subject: [PATCH] Sync SDL wiki -> header --- include/SDL_clipboard.h | 6 +++--- include/SDL_gamecontroller.h | 2 +- include/SDL_hints.h | 2 +- include/SDL_joystick.h | 2 +- include/SDL_sensor.h | 2 +- include/SDL_video.h | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/SDL_clipboard.h b/include/SDL_clipboard.h index 9bc501b74..783c7c251 100644 --- a/include/SDL_clipboard.h +++ b/include/SDL_clipboard.h @@ -89,7 +89,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void); * \returns 0 on success or a negative error code on failure; call * SDL_GetError() for more information. * - * \since This function is available since SDL 2.26.1. + * \since This function is available since SDL 2.26.0. * * \sa SDL_GetPrimarySelectionText * \sa SDL_HasPrimarySelectionText @@ -108,7 +108,7 @@ extern DECLSPEC int SDLCALL SDL_SetPrimarySelectionText(const char *text); * call SDL_free() on the returned pointer when done with it (even if * there was an error). * - * \since This function is available since SDL 2.26.1. + * \since This function is available since SDL 2.26.0. * * \sa SDL_HasPrimarySelectionText * \sa SDL_SetPrimarySelectionText @@ -122,7 +122,7 @@ extern DECLSPEC char * SDLCALL SDL_GetPrimarySelectionText(void); * \returns SDL_TRUE if the primary selection has text, or SDL_FALSE if it * does not. * - * \since This function is available since SDL 2.26.1. + * \since This function is available since SDL 2.26.0. * * \sa SDL_GetPrimarySelectionText * \sa SDL_SetPrimarySelectionText diff --git a/include/SDL_gamecontroller.h b/include/SDL_gamecontroller.h index 09320cc2d..05eeec0ce 100644 --- a/include/SDL_gamecontroller.h +++ b/include/SDL_gamecontroller.h @@ -910,7 +910,7 @@ extern DECLSPEC int SDLCALL SDL_GameControllerGetSensorData(SDL_GameController * * \param num_values The number of values to write to data * \return 0 or -1 if an error occurred. * - * \since This function is available since SDL 2.26.1. + * \since This function is available since SDL 2.26.0. */ extern DECLSPEC int SDLCALL SDL_GameControllerGetSensorDataWithTimestamp(SDL_GameController *gamecontroller, SDL_SensorType type, Uint64 *timestamp, float *data, int num_values); diff --git a/include/SDL_hints.h b/include/SDL_hints.h index 600989e58..d7849a4d4 100644 --- a/include/SDL_hints.h +++ b/include/SDL_hints.h @@ -2444,7 +2444,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_ResetHint(const char *name); * variable, or NULL if the environment isn't set. Callbacks will be called * normally with this change. * - * \since This function is available since SDL 2.26.1. + * \since This function is available since SDL 2.26.0. * * \sa SDL_GetHint * \sa SDL_SetHint diff --git a/include/SDL_joystick.h b/include/SDL_joystick.h index c5091458a..72c6604df 100644 --- a/include/SDL_joystick.h +++ b/include/SDL_joystick.h @@ -665,7 +665,7 @@ extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUIDFromString(const cha * \param crc16 A pointer filled in with a CRC used to distinguish different * products with the same VID/PID, or 0 if not available * - * \since This function is available since SDL 2.26.1. + * \since This function is available since SDL 2.26.0. * * \sa SDL_JoystickGetDeviceGUID */ diff --git a/include/SDL_sensor.h b/include/SDL_sensor.h index 7c9e4cc97..684d2c6eb 100644 --- a/include/SDL_sensor.h +++ b/include/SDL_sensor.h @@ -282,7 +282,7 @@ extern DECLSPEC int SDLCALL SDL_SensorGetData(SDL_Sensor *sensor, float *data, i * \param num_values The number of values to write to data * \returns 0 or -1 if an error occurred. * - * \since This function is available since SDL 2.26.1. + * \since This function is available since SDL 2.26.0. */ extern DECLSPEC int SDLCALL SDL_SensorGetDataWithTimestamp(SDL_Sensor *sensor, Uint64 *timestamp, float *data, int num_values); diff --git a/include/SDL_video.h b/include/SDL_video.h index d9dce43a9..79d572fcc 100644 --- a/include/SDL_video.h +++ b/include/SDL_video.h @@ -1059,7 +1059,7 @@ extern DECLSPEC int SDLCALL SDL_GetWindowBordersSize(SDL_Window * window, * \param h a pointer to variable for storing the height in pixels, may be * NULL * - * \since This function is available since SDL 2.26.1. + * \since This function is available since SDL 2.26.0. * * \sa SDL_CreateWindow * \sa SDL_GetWindowSize