added our own implementation of strto[u]ll() if the system doesn't have one (patch 1696533)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1317,26 +1317,12 @@ bool wxString::ToULong(unsigned long *val, int base) const
|
||||
|
||||
bool wxString::ToLongLong(wxLongLong_t *val, int base) const
|
||||
{
|
||||
#ifdef wxHAS_STRTOLL
|
||||
return wxStringToIntType((const wxChar*)c_str(), val, base, wxStrtoll);
|
||||
#else
|
||||
// TODO: implement this ourselves
|
||||
wxUnusedVar(val);
|
||||
wxUnusedVar(base);
|
||||
return false;
|
||||
#endif // wxHAS_STRTOLL
|
||||
}
|
||||
|
||||
bool wxString::ToULongLong(wxULongLong_t *val, int base) const
|
||||
{
|
||||
#ifdef wxHAS_STRTOLL
|
||||
return wxStringToIntType((const wxChar*)c_str(), val, base, wxStrtoull);
|
||||
#else
|
||||
// TODO: implement this ourselves
|
||||
wxUnusedVar(val);
|
||||
wxUnusedVar(base);
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool wxString::ToDouble(double *val) const
|
||||
|
||||
Reference in New Issue
Block a user