added wxString::ToLongLong() and ToULongLong() (feature request 1290937)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-10-28 16:46:03 +00:00
parent ea960ae8af
commit d6718dd17b
6 changed files with 283 additions and 36 deletions

View File

@@ -322,6 +322,12 @@
#define wxStrtod _tcstod
#define wxStrtol _tcstol
#define wxStrtoul _tcstoul
#ifdef __VISUALC__
#if __VISUALC__ >= 1300
#define wxStrtoll _tcstoi64
#define wxStrtoull _tcstoui64
#endif /* VC++ 7+ */
#endif
#define wxStrxfrm _tcsxfrm
/* stdio.h functions */
@@ -540,6 +546,11 @@
#define wxStrtod wcstod
#define wxStrtol wcstol
#define wxStrtoul wcstoul
#ifdef HAVE_WCSTOULL
/* assume that we have wcstoull(), which is also C99, too */
#define wxStrtoll wcstoll
#define wxStrtoull wcstoull
#endif /* HAVE_WCSTOULL */
#define wxStrxfrm wcsxfrm
#define wxFgetc fgetwc
@@ -709,6 +720,11 @@
#endif
#define wxStrtol strtol
#define wxStrtoul strtoul
#ifdef HAVE_STRTOULL
/* assume that we have wcstoull(), which is also C99, too */
#define wxStrtoll strtoll
#define wxStrtoull strtoull
#endif /* HAVE_WCSTOULL */
#define wxStrxfrm strxfrm
/* stdio.h functions */
@@ -758,6 +774,10 @@
#endif /* Unicode/ASCII */
#endif /* TCHAR-aware compilers/the others */
#ifdef wxStrtoll
#define wxHAS_STRTOLL
#endif
/*
various special cases
*/