Author: hbelusca
Date: Fri Nov 11 23:32:29 2016
New Revision: 73206
URL:
http://svn.reactos.org/svn/reactos?rev=73206&view=rev
Log:
[MSVCRT]: Implement and export _wtof, based on Wine and existing code; patch by Amine
Khaldi.
CORE-12335 #resolve
CORE-9312 #comment Please retest with r73206
Added:
trunk/reactos/sdk/lib/crt/string/wtof.c (with props)
Modified:
trunk/reactos/dll/win32/msvcrt/msvcrt.spec
trunk/reactos/sdk/lib/crt/crt.cmake
Modified: trunk/reactos/dll/win32/msvcrt/msvcrt.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msvcrt/msvcrt.sp…
==============================================================================
--- trunk/reactos/dll/win32/msvcrt/msvcrt.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msvcrt/msvcrt.spec [iso-8859-1] Fri Nov 11 23:32:29 2016
@@ -761,7 +761,7 @@
@ cdecl _wsystem(wstr)
@ cdecl _wtempnam(wstr wstr)
@ cdecl _wtmpnam(ptr)
-# @ cdecl _wtof(wstr)
+@ cdecl _wtof(wstr)
@ cdecl _wtoi(wstr)
@ cdecl _wtoi64(wstr)
@ cdecl _wtol(wstr)
Modified: trunk/reactos/sdk/lib/crt/crt.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/crt/crt.cmake?rev=…
==============================================================================
--- trunk/reactos/sdk/lib/crt/crt.cmake [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/crt/crt.cmake [iso-8859-1] Fri Nov 11 23:32:29 2016
@@ -305,6 +305,7 @@
string/wcstombs_s.c
string/wcstoul.c
string/wctype.c
+ string/wtof.c
string/wtoi.c
string/wtoi64.c
string/wtol.c
Added: trunk/reactos/sdk/lib/crt/string/wtof.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/crt/string/wtof.c?…
==============================================================================
--- trunk/reactos/sdk/lib/crt/string/wtof.c (added)
+++ trunk/reactos/sdk/lib/crt/string/wtof.c [iso-8859-1] Fri Nov 11 23:32:29 2016
@@ -0,0 +1,10 @@
+#include <precomp.h>
+
+/*
+ * @implemented
+ */
+double
+_wtof(const wchar_t *str)
+{
+ return wcstod(str, 0);
+}
Propchange: trunk/reactos/sdk/lib/crt/string/wtof.c
------------------------------------------------------------------------------
svn:eol-style = native