X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dad013ac0177be398b26236d5aa606a32d0a3356..aaf5f98682223a5ceb3496e7a25865ad791e8ab7:/include/wx/xlocale.h?ds=sidebyside diff --git a/include/wx/xlocale.h b/include/wx/xlocale.h index d2ca8d2008..936e3fc39e 100644 --- a/include/wx/xlocale.h +++ b/include/wx/xlocale.h @@ -18,7 +18,7 @@ using decimal point &c. TODO: Currently only the character classification and transformation - functions and number <-> string functions, are implemented, + functions and number <-> string functions, are implemented, we also need at least - formatted IO: scanf_l(), printf_l() &c - time: strftime_l(), strptime_l() @@ -246,7 +246,7 @@ extern WXDLLIMPEXP_DATA_BASE(wxXLocale) wxNullXLocale; { return wxCRT_Strtoul_lA(c, endptr, base, loc.Get()); } #if wxUSE_UNICODE - + // ctype functions #define wxCRT_Isalnum_lW wxXLOCALE_IDENT(iswalnum_l) #define wxCRT_Isalpha_lW wxXLOCALE_IDENT(iswalpha_l) @@ -319,6 +319,15 @@ extern WXDLLIMPEXP_DATA_BASE(wxXLocale) wxNullXLocale; int WXDLLIMPEXP_BASE wxIsxdigit_l(const wxUniChar& c, const wxXLocale& loc); int WXDLLIMPEXP_BASE wxTolower_l(const wxUniChar& c, const wxXLocale& loc); int WXDLLIMPEXP_BASE wxToupper_l(const wxUniChar& c, const wxXLocale& loc); + + // stdlib functions + double WXDLLIMPEXP_BASE wxStrtod_l(const wchar_t* str, wchar_t **endptr, const wxXLocale& loc); + double WXDLLIMPEXP_BASE wxStrtod_l(const char* str, char **endptr, const wxXLocale& loc); + long WXDLLIMPEXP_BASE wxStrtol_l(const wchar_t* str, wchar_t **endptr, int base, const wxXLocale& loc); + long WXDLLIMPEXP_BASE wxStrtol_l(const char* str, char **endptr, int base, const wxXLocale& loc); + unsigned long WXDLLIMPEXP_BASE wxStrtoul_l(const wchar_t* str, wchar_t **endptr, int base, const wxXLocale& loc); + unsigned long WXDLLIMPEXP_BASE wxStrtoul_l(const char* str, char **endptr, int base, const wxXLocale& loc); + #endif // wxHAS_XLOCALE_SUPPORT/!wxHAS_XLOCALE_SUPPORT #endif // wxUSE_XLOCALE