msvcrt: Added _towupper_l and _towlower_l implementation.

This commit is contained in:
Piotr Caban 2011-05-12 11:36:56 +02:00 committed by Alexandre Julliard
parent c81d6e21a3
commit 69ea5768a6
2 changed files with 18 additions and 2 deletions

View File

@ -980,8 +980,8 @@
# stub _tolower_l(long ptr)
@ cdecl _toupper(long) MSVCRT__toupper
# stub _toupper_l(long ptr)
# stub _towlower_l(long ptr)
# stub _towupper_l(long ptr)
@ cdecl _towlower_l(long ptr) MSVCRT__towlower_l
@ cdecl _towupper_l(long ptr) MSVCRT__towupper_l
@ extern _tzname MSVCRT__tzname
@ cdecl _tzset() MSVCRT__tzset
@ cdecl _ui64toa(int64 ptr long) ntdll._ui64toa

View File

@ -1445,3 +1445,19 @@ MSVCRT_size_t CDECL MSVCRT_wcsnlen(const MSVCRT_wchar_t *s, MSVCRT_size_t maxlen
if (!s[i]) break;
return i;
}
/*********************************************************************
* _towupper_l (MSVCRT.@)
*/
int CDECL MSVCRT__towupper_l(MSVCRT_wint_t c, MSVCRT__locale_t locale)
{
return toupperW(c);
}
/*********************************************************************
* _towlower_l (MSVCRT.@)
*/
int CDECL MSVCRT__towlower_l(MSVCRT_wint_t c, MSVCRT__locale_t locale)
{
return tolowerW(c);
}