msvcrt: Add _ismbcupper_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1ad2094284
commit
95b3ff9f74
|
@ -57,7 +57,7 @@
|
|||
@ cdecl _ismbcsymbol(long) ucrtbase._ismbcsymbol
|
||||
@ stub _ismbcsymbol_l
|
||||
@ cdecl _ismbcupper(long) ucrtbase._ismbcupper
|
||||
@ stub _ismbcupper_l
|
||||
@ cdecl _ismbcupper_l(long ptr) ucrtbase._ismbcupper_l
|
||||
@ cdecl _ismbslead(ptr ptr) ucrtbase._ismbslead
|
||||
@ stub _ismbslead_l
|
||||
@ cdecl _ismbstrail(ptr ptr) ucrtbase._ismbstrail
|
||||
|
|
|
@ -430,7 +430,7 @@
|
|||
@ cdecl _o__ismbcsymbol(long) ucrtbase._o__ismbcsymbol
|
||||
@ stub _o__ismbcsymbol_l
|
||||
@ cdecl _o__ismbcupper(long) ucrtbase._o__ismbcupper
|
||||
@ stub _o__ismbcupper_l
|
||||
@ cdecl _o__ismbcupper_l(long ptr) ucrtbase._o__ismbcupper_l
|
||||
@ cdecl _o__ismbslead(ptr ptr) ucrtbase._o__ismbslead
|
||||
@ stub _o__ismbslead_l
|
||||
@ cdecl _o__ismbstrail(ptr ptr) ucrtbase._o__ismbstrail
|
||||
|
|
|
@ -1005,7 +1005,7 @@
|
|||
@ cdecl _ismbcsymbol(long)
|
||||
@ stub _ismbcsymbol_l
|
||||
@ cdecl _ismbcupper(long)
|
||||
@ stub _ismbcupper_l
|
||||
@ cdecl _ismbcupper_l(long ptr)
|
||||
@ cdecl _ismbslead(ptr ptr)
|
||||
@ stub _ismbslead_l
|
||||
@ cdecl _ismbstrail(ptr ptr)
|
||||
|
|
|
@ -1351,7 +1351,7 @@
|
|||
@ cdecl _ismbcsymbol(long)
|
||||
@ stub _ismbcsymbol_l
|
||||
@ cdecl _ismbcupper(long)
|
||||
@ stub _ismbcupper_l
|
||||
@ cdecl _ismbcupper_l(long ptr)
|
||||
@ cdecl _ismbslead(ptr ptr)
|
||||
@ stub _ismbslead_l
|
||||
@ cdecl _ismbstrail(ptr ptr)
|
||||
|
|
|
@ -1356,7 +1356,7 @@
|
|||
@ cdecl _ismbcsymbol(long)
|
||||
@ stub _ismbcsymbol_l
|
||||
@ cdecl _ismbcupper(long)
|
||||
@ stub _ismbcupper_l
|
||||
@ cdecl _ismbcupper_l(long ptr)
|
||||
@ cdecl _ismbslead(ptr ptr)
|
||||
@ stub _ismbslead_l
|
||||
@ cdecl _ismbstrail(ptr ptr)
|
||||
|
|
|
@ -677,7 +677,7 @@
|
|||
@ cdecl _ismbcsymbol(long)
|
||||
@ stub _ismbcsymbol_l
|
||||
@ cdecl _ismbcupper(long)
|
||||
@ stub _ismbcupper_l
|
||||
@ cdecl _ismbcupper_l(long ptr)
|
||||
@ cdecl _ismbslead(ptr ptr)
|
||||
@ stub _ismbslead_l
|
||||
@ cdecl _ismbstrail(ptr ptr)
|
||||
|
|
|
@ -655,7 +655,7 @@
|
|||
@ cdecl _ismbcsymbol(long)
|
||||
@ stub _ismbcsymbol_l
|
||||
@ cdecl _ismbcupper(long)
|
||||
@ stub _ismbcupper_l
|
||||
@ cdecl _ismbcupper_l(long ptr)
|
||||
@ cdecl _ismbslead(ptr ptr)
|
||||
@ stub _ismbslead_l
|
||||
@ cdecl _ismbstrail(ptr ptr)
|
||||
|
|
|
@ -1491,13 +1491,20 @@ int CDECL _ismbclower(unsigned int ch)
|
|||
return _ismbclower_l( ch, NULL );
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _ismbcupper_l (MSVCRT.@)
|
||||
*/
|
||||
int CDECL _ismbcupper_l(unsigned int ch, MSVCRT__locale_t locale)
|
||||
{
|
||||
return MSVCRT__iswupper_l( msvcrt_mbc_to_wc_l(ch, locale), locale );
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _ismbcupper (MSVCRT.@)
|
||||
*/
|
||||
int CDECL _ismbcupper(unsigned int ch)
|
||||
{
|
||||
MSVCRT_wchar_t wch = msvcrt_mbc_to_wc( ch );
|
||||
return (get_char_typeW( wch ) & C1_LOWER);
|
||||
return _ismbcupper_l( ch, NULL );
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
|
|
|
@ -1206,6 +1206,7 @@ int __cdecl MSVCRT__iswdigit_l(MSVCRT_wchar_t, MSVCRT__locale_t);
|
|||
int __cdecl MSVCRT__iswgraph_l(MSVCRT_wchar_t, MSVCRT__locale_t);
|
||||
int __cdecl MSVCRT__iswalpha_l(MSVCRT_wchar_t, MSVCRT__locale_t);
|
||||
int __cdecl MSVCRT__iswlower_l(MSVCRT_wchar_t, MSVCRT__locale_t);
|
||||
int __cdecl MSVCRT__iswupper_l(MSVCRT_wchar_t, MSVCRT__locale_t);
|
||||
|
||||
/* Maybe one day we'll enable the invalid parameter handlers with the full set of information (msvcrXXd)
|
||||
* #define MSVCRT_INVALID_PMT(x) MSVCRT_call_invalid_parameter_handler(x, __FUNCTION__, __FILE__, __LINE__, 0)
|
||||
|
|
|
@ -623,7 +623,7 @@
|
|||
@ cdecl _ismbcsymbol(long)
|
||||
# stub _ismbcsymbol_l(long ptr)
|
||||
@ cdecl _ismbcupper(long)
|
||||
# stub _ismbcupper_l(long ptr)
|
||||
@ cdecl _ismbcupper_l(long ptr)
|
||||
@ cdecl _ismbslead(ptr ptr)
|
||||
# stub _ismbslead_l(long ptr)
|
||||
@ cdecl _ismbstrail(ptr ptr)
|
||||
|
|
|
@ -495,7 +495,7 @@
|
|||
@ cdecl _ismbcsymbol(long)
|
||||
@ stub _ismbcsymbol_l
|
||||
@ cdecl _ismbcupper(long)
|
||||
@ stub _ismbcupper_l
|
||||
@ cdecl _ismbcupper_l(long ptr)
|
||||
@ cdecl _ismbslead(ptr ptr)
|
||||
@ stub _ismbslead_l
|
||||
@ cdecl _ismbstrail(ptr ptr)
|
||||
|
@ -1094,7 +1094,7 @@
|
|||
@ cdecl _o__ismbcsymbol(long) _ismbcsymbol
|
||||
@ stub _o__ismbcsymbol_l
|
||||
@ cdecl _o__ismbcupper(long) _ismbcupper
|
||||
@ stub _o__ismbcupper_l
|
||||
@ cdecl _o__ismbcupper_l(long ptr) _ismbcupper_l
|
||||
@ cdecl _o__ismbslead(ptr ptr) _ismbslead
|
||||
@ stub _o__ismbslead_l
|
||||
@ cdecl _o__ismbstrail(ptr ptr) _ismbstrail
|
||||
|
|
Loading…
Reference in New Issue