Sync SDL3 wiki -> header

[ci skip]
This commit is contained in:
SDL Wiki Bot
2024-11-14 01:12:18 +00:00
parent 95c8a1cf7c
commit 7c5a2cd462
+6 -6
View File
@@ -543,10 +543,10 @@ extern SDL_DECLSPEC Sint64 SDLCALL SDL_TellIO(SDL_IOStream *context);
* This function reads up `size` bytes from the data source to the area * This function reads up `size` bytes from the data source to the area
* pointed at by `ptr`. This function may read less bytes than requested. * pointed at by `ptr`. This function may read less bytes than requested.
* *
* This function will return zero when the data stream is completely read, * This function will return zero when the data stream is completely read, and
* and SDL_GetIOStatus() will return SDL_IO_STATUS_EOF. If zero is returned * SDL_GetIOStatus() will return SDL_IO_STATUS_EOF. If zero is returned and
* and the stream is not at EOF, SDL_GetIOStatus() will return a different * the stream is not at EOF, SDL_GetIOStatus() will return a different error
* error value and SDL_GetError() will offer a human-readable message. * value and SDL_GetError() will offer a human-readable message.
* *
* \param context a pointer to an SDL_IOStream structure. * \param context a pointer to an SDL_IOStream structure.
* \param ptr a pointer to a buffer to read data into. * \param ptr a pointer to a buffer to read data into.
@@ -744,8 +744,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SaveFile(const char *file, const void *data
* *
* \param src the SDL_IOStream to read from. * \param src the SDL_IOStream to read from.
* \param value a pointer filled in with the data read. * \param value a pointer filled in with the data read.
* \returns true on success or false on failure or EOF; call SDL_GetError() for more * \returns true on success or false on failure or EOF; call SDL_GetError()
* information. * for more information.
* *
* \since This function is available since SDL 3.1.3. * \since This function is available since SDL 3.1.3.
*/ */