Sync SDL wiki -> header

main
SDL Wiki Bot 2022-10-05 23:26:14 +00:00
parent ddc3de602e
commit 4ca86dae2f
6 changed files with 8 additions and 8 deletions

View File

@ -89,7 +89,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void);
* \returns 0 on success or a negative error code on failure; call * \returns 0 on success or a negative error code on failure; call
* SDL_GetError() for more information. * SDL_GetError() for more information.
* *
* \since This function is available since SDL 2.26.0. * \since This function is available since SDL 2.26.1.
* *
* \sa SDL_GetPrimarySelectionText * \sa SDL_GetPrimarySelectionText
* \sa SDL_HasPrimarySelectionText * \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 * call SDL_free() on the returned pointer when done with it (even if
* there was an error). * there was an error).
* *
* \since This function is available since SDL 2.26.0. * \since This function is available since SDL 2.26.1.
* *
* \sa SDL_HasPrimarySelectionText * \sa SDL_HasPrimarySelectionText
* \sa SDL_SetPrimarySelectionText * \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 * \returns SDL_TRUE if the primary selection has text, or SDL_FALSE if it
* does not. * does not.
* *
* \since This function is available since SDL 2.26.0. * \since This function is available since SDL 2.26.1.
* *
* \sa SDL_GetPrimarySelectionText * \sa SDL_GetPrimarySelectionText
* \sa SDL_SetPrimarySelectionText * \sa SDL_SetPrimarySelectionText

View File

@ -910,7 +910,7 @@ extern DECLSPEC int SDLCALL SDL_GameControllerGetSensorData(SDL_GameController *
* \param num_values The number of values to write to data * \param num_values The number of values to write to data
* \return 0 or -1 if an error occurred. * \return 0 or -1 if an error occurred.
* *
* \since This function is available since SDL 2.26.0. * \since This function is available since SDL 2.26.1.
*/ */
extern DECLSPEC int SDLCALL SDL_GameControllerGetSensorDataWithTimestamp(SDL_GameController *gamecontroller, SDL_SensorType type, Uint64 *timestamp, float *data, int num_values); extern DECLSPEC int SDLCALL SDL_GameControllerGetSensorDataWithTimestamp(SDL_GameController *gamecontroller, SDL_SensorType type, Uint64 *timestamp, float *data, int num_values);

View File

@ -2447,7 +2447,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_ResetHint(const char *name);
* variable, or NULL if the environment isn't set. Callbacks will be called * variable, or NULL if the environment isn't set. Callbacks will be called
* normally with this change. * normally with this change.
* *
* \since This function is available since SDL 2.26.0. * \since This function is available since SDL 2.26.1.
* *
* \sa SDL_GetHint * \sa SDL_GetHint
* \sa SDL_SetHint * \sa SDL_SetHint

View File

@ -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 * \param crc16 A pointer filled in with a CRC used to distinguish different
* products with the same VID/PID, or 0 if not available * products with the same VID/PID, or 0 if not available
* *
* \since This function is available since SDL 2.26.0. * \since This function is available since SDL 2.26.1.
* *
* \sa SDL_JoystickGetDeviceGUID * \sa SDL_JoystickGetDeviceGUID
*/ */

View File

@ -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 * \param num_values The number of values to write to data
* \returns 0 or -1 if an error occurred. * \returns 0 or -1 if an error occurred.
* *
* \since This function is available since SDL 2.26.0. * \since This function is available since SDL 2.26.1.
*/ */
extern DECLSPEC int SDLCALL SDL_SensorGetDataWithTimestamp(SDL_Sensor *sensor, Uint64 *timestamp, float *data, int num_values); extern DECLSPEC int SDLCALL SDL_SensorGetDataWithTimestamp(SDL_Sensor *sensor, Uint64 *timestamp, float *data, int num_values);

View File

@ -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 * \param h a pointer to variable for storing the height in pixels, may be
* NULL * NULL
* *
* \since This function is available since SDL 2.26.0. * \since This function is available since SDL 2.26.1.
* *
* \sa SDL_CreateWindow * \sa SDL_CreateWindow
* \sa SDL_GetWindowSize * \sa SDL_GetWindowSize