Skip to content

Commit b4ac5f4

Browse files
committed
include: Fixed copy/paste error in endian-specific SDL_Read function docs.
1 parent 3896b1b commit b4ac5f4

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

include/SDL3/SDL_iostream.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadS8(SDL_IOStream *src, Sint8 *value);
823823
*
824824
* \param src the stream from which to read data.
825825
* \param value a pointer filled in with the data read.
826-
* \returns true on successful write or false on failure; call SDL_GetError()
826+
* \returns true on successful read or false on failure; call SDL_GetError()
827827
* for more information.
828828
*
829829
* \threadsafety This function is not thread safe.
@@ -846,7 +846,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadU16LE(SDL_IOStream *src, Uint16 *value)
846846
*
847847
* \param src the stream from which to read data.
848848
* \param value a pointer filled in with the data read.
849-
* \returns true on successful write or false on failure; call SDL_GetError()
849+
* \returns true on successful read or false on failure; call SDL_GetError()
850850
* for more information.
851851
*
852852
* \threadsafety This function is not thread safe.
@@ -869,7 +869,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadS16LE(SDL_IOStream *src, Sint16 *value)
869869
*
870870
* \param src the stream from which to read data.
871871
* \param value a pointer filled in with the data read.
872-
* \returns true on successful write or false on failure; call SDL_GetError()
872+
* \returns true on successful read or false on failure; call SDL_GetError()
873873
* for more information.
874874
*
875875
* \threadsafety This function is not thread safe.
@@ -892,7 +892,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadU16BE(SDL_IOStream *src, Uint16 *value)
892892
*
893893
* \param src the stream from which to read data.
894894
* \param value a pointer filled in with the data read.
895-
* \returns true on successful write or false on failure; call SDL_GetError()
895+
* \returns true on successful read or false on failure; call SDL_GetError()
896896
* for more information.
897897
*
898898
* \threadsafety This function is not thread safe.
@@ -915,7 +915,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadS16BE(SDL_IOStream *src, Sint16 *value)
915915
*
916916
* \param src the stream from which to read data.
917917
* \param value a pointer filled in with the data read.
918-
* \returns true on successful write or false on failure; call SDL_GetError()
918+
* \returns true on successful read or false on failure; call SDL_GetError()
919919
* for more information.
920920
*
921921
* \threadsafety This function is not thread safe.
@@ -938,7 +938,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadU32LE(SDL_IOStream *src, Uint32 *value)
938938
*
939939
* \param src the stream from which to read data.
940940
* \param value a pointer filled in with the data read.
941-
* \returns true on successful write or false on failure; call SDL_GetError()
941+
* \returns true on successful read or false on failure; call SDL_GetError()
942942
* for more information.
943943
*
944944
* \threadsafety This function is not thread safe.
@@ -961,7 +961,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadS32LE(SDL_IOStream *src, Sint32 *value)
961961
*
962962
* \param src the stream from which to read data.
963963
* \param value a pointer filled in with the data read.
964-
* \returns true on successful write or false on failure; call SDL_GetError()
964+
* \returns true on successful read or false on failure; call SDL_GetError()
965965
* for more information.
966966
*
967967
* \threadsafety This function is not thread safe.
@@ -984,7 +984,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadU32BE(SDL_IOStream *src, Uint32 *value)
984984
*
985985
* \param src the stream from which to read data.
986986
* \param value a pointer filled in with the data read.
987-
* \returns true on successful write or false on failure; call SDL_GetError()
987+
* \returns true on successful read or false on failure; call SDL_GetError()
988988
* for more information.
989989
*
990990
* \threadsafety This function is not thread safe.
@@ -1007,7 +1007,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadS32BE(SDL_IOStream *src, Sint32 *value)
10071007
*
10081008
* \param src the stream from which to read data.
10091009
* \param value a pointer filled in with the data read.
1010-
* \returns true on successful write or false on failure; call SDL_GetError()
1010+
* \returns true on successful read or false on failure; call SDL_GetError()
10111011
* for more information.
10121012
*
10131013
* \threadsafety This function is not thread safe.
@@ -1030,7 +1030,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadU64LE(SDL_IOStream *src, Uint64 *value)
10301030
*
10311031
* \param src the stream from which to read data.
10321032
* \param value a pointer filled in with the data read.
1033-
* \returns true on successful write or false on failure; call SDL_GetError()
1033+
* \returns true on successful read or false on failure; call SDL_GetError()
10341034
* for more information.
10351035
*
10361036
* \threadsafety This function is not thread safe.
@@ -1053,7 +1053,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadS64LE(SDL_IOStream *src, Sint64 *value)
10531053
*
10541054
* \param src the stream from which to read data.
10551055
* \param value a pointer filled in with the data read.
1056-
* \returns true on successful write or false on failure; call SDL_GetError()
1056+
* \returns true on successful read or false on failure; call SDL_GetError()
10571057
* for more information.
10581058
*
10591059
* \threadsafety This function is not thread safe.
@@ -1076,7 +1076,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadU64BE(SDL_IOStream *src, Uint64 *value)
10761076
*
10771077
* \param src the stream from which to read data.
10781078
* \param value a pointer filled in with the data read.
1079-
* \returns true on successful write or false on failure; call SDL_GetError()
1079+
* \returns true on successful read or false on failure; call SDL_GetError()
10801080
* for more information.
10811081
*
10821082
* \threadsafety This function is not thread safe.

0 commit comments

Comments
 (0)