Piotr Caban : msvcp90: Added _Stofx implementation.
Alexandre Julliard
julliard at winehq.org
Wed Jun 20 13:49:44 CDT 2012
Module: wine
Branch: master
Commit: dc4e950009c890b82e5630e52d1001fbcdebf93e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dc4e950009c890b82e5630e52d1001fbcdebf93e
Author: Piotr Caban <piotr at codeweavers.com>
Date: Wed Jun 20 13:14:55 2012 +0200
msvcp90: Added _Stofx implementation.
---
dlls/msvcp90/locale.c | 10 ++++++++++
dlls/msvcp90/msvcp90.spec | 4 ++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcp90/locale.c b/dlls/msvcp90/locale.c
index 1330d17..fc682a1 100644
--- a/dlls/msvcp90/locale.c
+++ b/dlls/msvcp90/locale.c
@@ -3897,6 +3897,16 @@ double __cdecl _Stodx(const char *buf, char **buf_end, LONG exp, int *err)
return ret;
}
+float __cdecl _Stof(const char *buf, char **buf_end, LONG exp)
+{
+ return _Stod(buf, buf_end, exp);
+}
+
+float __cdecl _Stofx(const char *buf, char **buf_end, LONG exp, int *err)
+{
+ return _Stodx(buf, buf_end, exp, err);
+}
+
/* ?id@?$num_get at _WV?$istreambuf_iterator at _WU?$char_traits at _W@std@@@std@@@std@@2V0locale at 2@A */
locale_id num_get_wchar_id = {0};
/* ?id@?$num_get at GV?$istreambuf_iterator at GU?$char_traits at G@std@@@std@@@std@@2V0locale at 2@A */
diff --git a/dlls/msvcp90/msvcp90.spec b/dlls/msvcp90/msvcp90.spec
index 3d15518..827f7a7 100644
--- a/dlls/msvcp90/msvcp90.spec
+++ b/dlls/msvcp90/msvcp90.spec
@@ -5785,8 +5785,8 @@
@ extern _Snan
@ cdecl _Stod(ptr ptr long)
@ cdecl _Stodx(ptr ptr long ptr)
-@ stub _Stof
-@ stub _Stofx
+@ cdecl _Stof(ptr ptr long)
+@ cdecl _Stofx(ptr ptr long ptr)
@ cdecl _Stold(ptr ptr long) _Stod
@ cdecl _Stoldx(ptr ptr long ptr) _Stodx
@ stub _Stoll
More information about the wine-cvs
mailing list