Commit 1f5930af authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Move towctrans to wcs.c file.

parent 3073097d
......@@ -2414,7 +2414,7 @@
@ cdecl tmpnam_s(ptr long) MSVCRT_tmpnam_s
@ cdecl tolower(long) MSVCRT_tolower
@ cdecl toupper(long) MSVCRT_toupper
@ cdecl towctrans(long long) MSVCR120_towctrans
@ cdecl towctrans(long long)
@ cdecl towlower(long) MSVCRT_towlower
@ cdecl towupper(long) MSVCRT_towupper
@ cdecl trunc(double) MSVCR120_trunc
......
......@@ -2148,14 +2148,4 @@ wctrans_t CDECL MSVCR120_wctrans(const char *property)
return 1;
return 0;
}
/*********************************************************************
* towctrans (MSVCR120.@)
*/
MSVCRT_wint_t CDECL MSVCR120_towctrans(MSVCRT_wint_t c, wctrans_t category)
{
if(category == 1)
return MSVCRT__towupper_l(c, NULL);
return MSVCRT__towlower_l(c, NULL);
}
#endif
......@@ -23,6 +23,7 @@
#include <stdio.h>
#include <math.h>
#include <assert.h>
#include <wctype.h>
#include "msvcrt.h"
#include "winnls.h"
#include "wtypes.h"
......@@ -137,6 +138,16 @@ INT CDECL MSVCRT__wcsicmp_l(const MSVCRT_wchar_t *str1, const MSVCRT_wchar_t *st
}
/*********************************************************************
* towctrans (MSVCR120.@)
*/
wint_t CDECL towctrans(wint_t c, wctrans_t category)
{
if(category == 1)
return MSVCRT__towupper_l(c, NULL);
return MSVCRT__towlower_l(c, NULL);
}
/*********************************************************************
* _wcsicmp (MSVCRT.@)
*/
INT CDECL MSVCRT__wcsicmp( const MSVCRT_wchar_t* str1, const MSVCRT_wchar_t* str2 )
......
......@@ -2543,7 +2543,7 @@
@ cdecl tmpnam_s(ptr long) MSVCRT_tmpnam_s
@ cdecl tolower(long) MSVCRT_tolower
@ cdecl toupper(long) MSVCRT_toupper
@ cdecl towctrans(long long) MSVCR120_towctrans
@ cdecl towctrans(long long)
@ cdecl towlower(long) MSVCRT_towlower
@ cdecl towupper(long) MSVCRT_towupper
@ cdecl trunc(double) MSVCR120_trunc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment