mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-25 22:19:10 +00:00
SDL_stdinc.h: A couple wikiheaders fixes.
This commit is contained in:
parent
b2eb23a617
commit
819e1cc95b
1 changed files with 15 additions and 2 deletions
|
@ -103,7 +103,8 @@ void *alloca(size_t);
|
||||||
*
|
*
|
||||||
* \since This macro is available since SDL 3.1.3.
|
* \since This macro is available since SDL 3.1.3.
|
||||||
*/
|
*/
|
||||||
# define SDL_SIZE_MAX SIZE_MAX
|
#define SDL_SIZE_MAX SIZE_MAX
|
||||||
|
|
||||||
#elif defined(SIZE_MAX)
|
#elif defined(SIZE_MAX)
|
||||||
# define SDL_SIZE_MAX SIZE_MAX
|
# define SDL_SIZE_MAX SIZE_MAX
|
||||||
#else
|
#else
|
||||||
|
@ -2852,7 +2853,7 @@ extern SDL_DECLSPEC size_t SDLCALL SDL_utf8strlen(const char *str);
|
||||||
* count by several replacement characters.
|
* count by several replacement characters.
|
||||||
*
|
*
|
||||||
* \param str The null-terminated UTF-8 string to read. Must not be NULL.
|
* \param str The null-terminated UTF-8 string to read. Must not be NULL.
|
||||||
* \param maxlen The maximum amount of bytes to count.
|
* \param bytes The maximum amount of bytes to count.
|
||||||
* \returns The length (in codepoints, excluding the null terminator) of `src` but
|
* \returns The length (in codepoints, excluding the null terminator) of `src` but
|
||||||
* never more than `maxlen`.
|
* never more than `maxlen`.
|
||||||
*
|
*
|
||||||
|
@ -2881,6 +2882,8 @@ extern SDL_DECLSPEC size_t SDLCALL SDL_utf8strnlen(const char *str, size_t bytes
|
||||||
* \param value the integer to convert.
|
* \param value the integer to convert.
|
||||||
* \param str the buffer to write the string into.
|
* \param str the buffer to write the string into.
|
||||||
* \param radix the radix to use for string generation.
|
* \param radix the radix to use for string generation.
|
||||||
|
* \returns `str`.
|
||||||
|
*
|
||||||
* \threadsafety It is safe to call this function from any thread.
|
* \threadsafety It is safe to call this function from any thread.
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 3.1.3.
|
* \since This function is available since SDL 3.1.3.
|
||||||
|
@ -2907,6 +2910,8 @@ extern SDL_DECLSPEC char * SDLCALL SDL_itoa(int value, char *str, int radix);
|
||||||
* \param value the unsigned integer to convert.
|
* \param value the unsigned integer to convert.
|
||||||
* \param str the buffer to write the string into.
|
* \param str the buffer to write the string into.
|
||||||
* \param radix the radix to use for string generation.
|
* \param radix the radix to use for string generation.
|
||||||
|
* \returns `str`.
|
||||||
|
*
|
||||||
* \threadsafety It is safe to call this function from any thread.
|
* \threadsafety It is safe to call this function from any thread.
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 3.1.3.
|
* \since This function is available since SDL 3.1.3.
|
||||||
|
@ -2933,6 +2938,8 @@ extern SDL_DECLSPEC char * SDLCALL SDL_uitoa(unsigned int value, char *str, int
|
||||||
* \param value the long integer to convert.
|
* \param value the long integer to convert.
|
||||||
* \param str the buffer to write the string into.
|
* \param str the buffer to write the string into.
|
||||||
* \param radix the radix to use for string generation.
|
* \param radix the radix to use for string generation.
|
||||||
|
* \returns `str`.
|
||||||
|
*
|
||||||
* \threadsafety It is safe to call this function from any thread.
|
* \threadsafety It is safe to call this function from any thread.
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 3.1.3.
|
* \since This function is available since SDL 3.1.3.
|
||||||
|
@ -2959,6 +2966,8 @@ extern SDL_DECLSPEC char * SDLCALL SDL_ltoa(long value, char *str, int radix);
|
||||||
* \param value the unsigned long integer to convert.
|
* \param value the unsigned long integer to convert.
|
||||||
* \param str the buffer to write the string into.
|
* \param str the buffer to write the string into.
|
||||||
* \param radix the radix to use for string generation.
|
* \param radix the radix to use for string generation.
|
||||||
|
* \returns `str`.
|
||||||
|
*
|
||||||
* \threadsafety It is safe to call this function from any thread.
|
* \threadsafety It is safe to call this function from any thread.
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 3.1.3.
|
* \since This function is available since SDL 3.1.3.
|
||||||
|
@ -2985,6 +2994,8 @@ extern SDL_DECLSPEC char * SDLCALL SDL_ultoa(unsigned long value, char *str, int
|
||||||
* \param value the long long integer to convert.
|
* \param value the long long integer to convert.
|
||||||
* \param str the buffer to write the string into.
|
* \param str the buffer to write the string into.
|
||||||
* \param radix the radix to use for string generation.
|
* \param radix the radix to use for string generation.
|
||||||
|
* \returns `str`.
|
||||||
|
*
|
||||||
* \threadsafety It is safe to call this function from any thread.
|
* \threadsafety It is safe to call this function from any thread.
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 3.1.3.
|
* \since This function is available since SDL 3.1.3.
|
||||||
|
@ -3011,6 +3022,8 @@ extern SDL_DECLSPEC char * SDLCALL SDL_lltoa(long long value, char *str, int rad
|
||||||
* \param value the unsigned long long integer to convert.
|
* \param value the unsigned long long integer to convert.
|
||||||
* \param str the buffer to write the string into.
|
* \param str the buffer to write the string into.
|
||||||
* \param radix the radix to use for string generation.
|
* \param radix the radix to use for string generation.
|
||||||
|
* \returns `str`.
|
||||||
|
*
|
||||||
* \threadsafety It is safe to call this function from any thread.
|
* \threadsafety It is safe to call this function from any thread.
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 3.1.3.
|
* \since This function is available since SDL 3.1.3.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue