|
@@ -773,6 +773,11 @@ static const char ntoa_table[] = {
|
|
|
};
|
|
};
|
|
|
#endif /* ntoa() conversion table */
|
|
#endif /* ntoa() conversion table */
|
|
|
|
|
|
|
|
|
|
+char *SDL_uitoa(unsigned int value, char *string, int radix)
|
|
|
|
|
+{
|
|
|
|
|
+ return SDL_ultoa((unsigned long)value, string, radix);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
char *SDL_itoa(int value, char *string, int radix)
|
|
char *SDL_itoa(int value, char *string, int radix)
|
|
|
{
|
|
{
|
|
|
#ifdef HAVE_ITOA
|
|
#ifdef HAVE_ITOA
|
|
@@ -782,15 +787,6 @@ char *SDL_itoa(int value, char *string, int radix)
|
|
|
#endif /* HAVE_ITOA */
|
|
#endif /* HAVE_ITOA */
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-char *SDL_uitoa(unsigned int value, char *string, int radix)
|
|
|
|
|
-{
|
|
|
|
|
-#ifdef HAVE__UITOA
|
|
|
|
|
- return _uitoa(value, string, radix);
|
|
|
|
|
-#else
|
|
|
|
|
- return SDL_ultoa((unsigned long)value, string, radix);
|
|
|
|
|
-#endif /* HAVE__UITOA */
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
char *SDL_ltoa(long value, char *string, int radix)
|
|
char *SDL_ltoa(long value, char *string, int radix)
|
|
|
{
|
|
{
|
|
|
#if defined(HAVE__LTOA)
|
|
#if defined(HAVE__LTOA)
|