mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 20:18:22 +00:00
[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 svn path=/trunk/; revision=73206
This commit is contained in:
parent
ed21369043
commit
b98bfc8583
3 changed files with 12 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -305,6 +305,7 @@ list(APPEND CRT_SOURCE
|
|||
string/wcstombs_s.c
|
||||
string/wcstoul.c
|
||||
string/wctype.c
|
||||
string/wtof.c
|
||||
string/wtoi.c
|
||||
string/wtoi64.c
|
||||
string/wtol.c
|
||||
|
|
10
reactos/sdk/lib/crt/string/wtof.c
Normal file
10
reactos/sdk/lib/crt/string/wtof.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
#include <precomp.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
double
|
||||
_wtof(const wchar_t *str)
|
||||
{
|
||||
return wcstod(str, 0);
|
||||
}
|
Loading…
Reference in a new issue