Fix comments

This commit is contained in:
Sylvain
2023-06-22 15:42:51 +02:00
committed by Sylvain Becker
parent 4339113072
commit 627165a2b2
5 changed files with 11 additions and 0 deletions

View File

@@ -511,6 +511,8 @@ extern DECLSPEC int SDLCALL SDL_hid_get_indexed_string(SDL_hid_device *dev, int
* in the case of failure; call SDL_GetError() for more information.
* This struct is valid until the device is closed with
* SDL_hid_close().
*
* \since This function is available since SDL 3.0.0.
*/
extern DECLSPEC SDL_hid_device_info * SDLCALL SDL_hid_get_device_info(SDL_hid_device *dev);
@@ -525,6 +527,8 @@ extern DECLSPEC SDL_hid_device_info * SDLCALL SDL_hid_get_device_info(SDL_hid_de
* \param buf_size The size of the buffer in bytes.
* \returns the number of bytes actually copied, or -1 on error; call
* SDL_GetError() for more information.
*
* \since This function is available since SDL 3.0.0.
*/
extern DECLSPEC int SDLCALL SDL_hid_get_report_descriptor(SDL_hid_device *dev, unsigned char *buf, size_t buf_size);