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

msvcrt: Add _ismbclower_l implementation.

parent 5f294e34
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
@ cdecl _ismbclegal(long) ucrtbase._ismbclegal @ cdecl _ismbclegal(long) ucrtbase._ismbclegal
@ cdecl _ismbclegal_l(long ptr) ucrtbase._ismbclegal_l @ cdecl _ismbclegal_l(long ptr) ucrtbase._ismbclegal_l
@ cdecl _ismbclower(long) ucrtbase._ismbclower @ cdecl _ismbclower(long) ucrtbase._ismbclower
@ stub _ismbclower_l @ cdecl _ismbclower_l(long ptr) ucrtbase._ismbclower_l
@ cdecl _ismbcprint(long) ucrtbase._ismbcprint @ cdecl _ismbcprint(long) ucrtbase._ismbcprint
@ stub _ismbcprint_l @ stub _ismbcprint_l
@ cdecl _ismbcpunct(long) ucrtbase._ismbcpunct @ cdecl _ismbcpunct(long) ucrtbase._ismbcpunct
......
...@@ -420,7 +420,7 @@ ...@@ -420,7 +420,7 @@
@ cdecl _o__ismbclegal(long) ucrtbase._o__ismbclegal @ cdecl _o__ismbclegal(long) ucrtbase._o__ismbclegal
@ cdecl _o__ismbclegal_l(long ptr) ucrtbase._o__ismbclegal_l @ cdecl _o__ismbclegal_l(long ptr) ucrtbase._o__ismbclegal_l
@ stub _o__ismbclower @ stub _o__ismbclower
@ stub _o__ismbclower_l @ cdecl _o__ismbclower_l(long ptr) ucrtbase._o__ismbclower_l
@ cdecl _o__ismbcprint(long) ucrtbase._o__ismbcprint @ cdecl _o__ismbcprint(long) ucrtbase._o__ismbcprint
@ stub _o__ismbcprint_l @ stub _o__ismbcprint_l
@ cdecl _o__ismbcpunct(long) ucrtbase._o__ismbcpunct @ cdecl _o__ismbcpunct(long) ucrtbase._o__ismbcpunct
......
...@@ -995,7 +995,7 @@ ...@@ -995,7 +995,7 @@
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
@ cdecl _ismbclower(long) @ cdecl _ismbclower(long)
@ stub _ismbclower_l @ cdecl _ismbclower_l(long ptr)
@ cdecl _ismbcprint(long) @ cdecl _ismbcprint(long)
@ stub _ismbcprint_l @ stub _ismbcprint_l
@ cdecl _ismbcpunct(long) @ cdecl _ismbcpunct(long)
......
...@@ -1341,7 +1341,7 @@ ...@@ -1341,7 +1341,7 @@
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
@ stub _ismbclower(long) @ stub _ismbclower(long)
@ stub _ismbclower_l @ cdecl _ismbclower_l(long ptr)
@ stub _ismbcprint(long) @ stub _ismbcprint(long)
@ stub _ismbcprint_l @ stub _ismbcprint_l
@ cdecl _ismbcpunct(long) @ cdecl _ismbcpunct(long)
......
...@@ -1346,7 +1346,7 @@ ...@@ -1346,7 +1346,7 @@
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
@ stub _ismbclower(long) @ stub _ismbclower(long)
@ stub _ismbclower_l @ cdecl _ismbclower_l(long ptr)
@ cdecl _ismbcprint(long) @ cdecl _ismbcprint(long)
@ stub _ismbcprint_l @ stub _ismbcprint_l
@ cdecl _ismbcpunct(long) @ cdecl _ismbcpunct(long)
......
...@@ -667,7 +667,7 @@ ...@@ -667,7 +667,7 @@
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
@ cdecl _ismbclower(long) @ cdecl _ismbclower(long)
@ stub _ismbclower_l @ cdecl _ismbclower_l(long ptr)
@ cdecl _ismbcprint(long) @ cdecl _ismbcprint(long)
@ stub _ismbcprint_l @ stub _ismbcprint_l
@ cdecl _ismbcpunct(long) @ cdecl _ismbcpunct(long)
......
...@@ -645,7 +645,7 @@ ...@@ -645,7 +645,7 @@
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
@ cdecl _ismbclower(long) @ cdecl _ismbclower(long)
@ stub _ismbclower_l @ cdecl _ismbclower_l(long ptr)
@ cdecl _ismbcprint(long) @ cdecl _ismbcprint(long)
@ stub _ismbcprint_l @ stub _ismbcprint_l
@ cdecl _ismbcpunct(long) @ cdecl _ismbcpunct(long)
......
...@@ -1476,12 +1476,19 @@ int CDECL _ismbcalpha(unsigned int ch) ...@@ -1476,12 +1476,19 @@ int CDECL _ismbcalpha(unsigned int ch)
} }
/********************************************************************* /*********************************************************************
* _ismbclower_l (MSVCRT.@)
*/
int CDECL _ismbclower_l(unsigned int ch, MSVCRT__locale_t locale)
{
return MSVCRT__iswlower_l( msvcrt_mbc_to_wc_l(ch, locale), locale );
}
/*********************************************************************
* _ismbclower (MSVCRT.@) * _ismbclower (MSVCRT.@)
*/ */
int CDECL _ismbclower(unsigned int ch) int CDECL _ismbclower(unsigned int ch)
{ {
MSVCRT_wchar_t wch = msvcrt_mbc_to_wc( ch ); return _ismbclower_l( ch, NULL );
return (get_char_typeW( wch ) & C1_UPPER);
} }
/********************************************************************* /*********************************************************************
......
...@@ -1205,6 +1205,7 @@ int __cdecl MSVCRT__iswalnum_l(MSVCRT_wchar_t, MSVCRT__locale_t); ...@@ -1205,6 +1205,7 @@ int __cdecl MSVCRT__iswalnum_l(MSVCRT_wchar_t, MSVCRT__locale_t);
int __cdecl MSVCRT__iswdigit_l(MSVCRT_wchar_t, MSVCRT__locale_t); 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__iswgraph_l(MSVCRT_wchar_t, MSVCRT__locale_t);
int __cdecl MSVCRT__iswalpha_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);
/* Maybe one day we'll enable the invalid parameter handlers with the full set of information (msvcrXXd) /* 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) * #define MSVCRT_INVALID_PMT(x) MSVCRT_call_invalid_parameter_handler(x, __FUNCTION__, __FILE__, __LINE__, 0)
......
...@@ -613,7 +613,7 @@ ...@@ -613,7 +613,7 @@
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
@ cdecl _ismbclower(long) @ cdecl _ismbclower(long)
# stub _ismbclower_l(long ptr) @ cdecl _ismbclower_l(long ptr)
@ cdecl _ismbcprint(long) @ cdecl _ismbcprint(long)
# stub _ismbcprint_l(long ptr) # stub _ismbcprint_l(long ptr)
@ cdecl _ismbcpunct(long) @ cdecl _ismbcpunct(long)
......
...@@ -485,7 +485,7 @@ ...@@ -485,7 +485,7 @@
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
@ stub _ismbclower(long) @ stub _ismbclower(long)
@ stub _ismbclower_l @ cdecl _ismbclower_l(long ptr)
@ cdecl _ismbcprint(long) @ cdecl _ismbcprint(long)
@ stub _ismbcprint_l @ stub _ismbcprint_l
@ cdecl _ismbcpunct(long) @ cdecl _ismbcpunct(long)
...@@ -1084,7 +1084,7 @@ ...@@ -1084,7 +1084,7 @@
@ cdecl _o__ismbclegal(long) _ismbclegal @ cdecl _o__ismbclegal(long) _ismbclegal
@ cdecl _o__ismbclegal_l(long ptr) _ismbclegal_l @ cdecl _o__ismbclegal_l(long ptr) _ismbclegal_l
@ stub _o__ismbclower @ stub _o__ismbclower
@ stub _o__ismbclower_l @ cdecl _o__ismbclower_l(long ptr) _ismbclower_l
@ cdecl _o__ismbcprint(long) _ismbcprint @ cdecl _o__ismbcprint(long) _ismbcprint
@ stub _o__ismbcprint_l @ stub _o__ismbcprint_l
@ cdecl _o__ismbcpunct(long) _ismbcpunct @ cdecl _o__ismbcpunct(long) _ismbcpunct
......
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