This really needs to go in a branch. It needs heavy testing and can't coincide with the current shell32 due to PSDK interface changes

svn path=/branches/shell32_new-bringup/; revision=51893
This commit is contained in:
Ged Murphy 2011-05-24 18:40:34 +00:00
parent 4596e5e59b
commit 4019caae75
23116 changed files with 0 additions and 1109022 deletions

View file

@ -0,0 +1,70 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* FILE: lib/crt/??????
* PURPOSE: Unknown
* PROGRAMER: Unknown
* UPDATE HISTORY:
* 25/11/05: Added license header
*/
#include <precomp.h>
/*
* @implemented
*/
__int64
_wtoi64 (const wchar_t *nptr)
{
int c;
__int64 value;
int sign;
if (nptr == NULL)
return 0;
while (iswctype((int)*nptr, _SPACE))
++nptr;
c = (int)*nptr++;
sign = c;
if (c == L'-' || c == L'+')
c = (int)*nptr++;
value = 0;
while (iswctype(c, _DIGIT))
{
value = 10 * value + (c - L'0');
c = (int)*nptr++;
}
if (sign == L'-')
return -value;
else
return value;
}
/*
* @unimplemented
*/
__int64
_wcstoi64 (const wchar_t *nptr, wchar_t **endptr, int base)
{
TRACE("_wcstoi64 is UNIMPLEMENTED\n");
return 0;
}
/*
* @unimplemented
*/
unsigned __int64
_wcstoui64 (const wchar_t *nptr, wchar_t **endptr, int base)
{
TRACE("_wcstoui64 is UNIMPLEMENTED\n");
return 0;
}
/* EOF */