Commit 5f294e34 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Add _ismbcalpha_l implementation.

parent 71cd3d5e
......@@ -27,7 +27,7 @@
@ cdecl _ismbcalnum(long) ucrtbase._ismbcalnum
@ cdecl _ismbcalnum_l(long ptr) ucrtbase._ismbcalnum_l
@ cdecl _ismbcalpha(long) ucrtbase._ismbcalpha
@ stub _ismbcalpha_l
@ cdecl _ismbcalpha_l(long ptr) ucrtbase._ismbcalpha_l
@ stub _ismbcblank
@ stub _ismbcblank_l
@ cdecl _ismbcdigit(long) ucrtbase._ismbcdigit
......
......@@ -400,7 +400,7 @@
@ cdecl _o__ismbcalnum(long) ucrtbase._o__ismbcalnum
@ cdecl _o__ismbcalnum_l(long ptr) ucrtbase._o__ismbcalnum_l
@ cdecl _o__ismbcalpha(long) ucrtbase._o__ismbcalpha
@ stub _o__ismbcalpha_l
@ cdecl _o__ismbcalpha_l(long ptr) ucrtbase._o__ismbcalpha_l
@ stub _o__ismbcblank
@ stub _o__ismbcblank_l
@ cdecl _o__ismbcdigit(long) ucrtbase._o__ismbcdigit
......
......@@ -977,7 +977,7 @@
@ cdecl _ismbcalnum(long)
@ cdecl _ismbcalnum_l(long ptr)
@ cdecl _ismbcalpha(long)
@ stub _ismbcalpha_l
@ cdecl _ismbcalpha_l(long ptr)
@ cdecl _ismbcdigit(long)
@ cdecl _ismbcdigit_l(long ptr)
@ cdecl _ismbcgraph(long)
......
......@@ -1323,7 +1323,7 @@
@ cdecl _ismbcalnum(long)
@ cdecl _ismbcalnum_l(long ptr)
@ cdecl _ismbcalpha(long)
@ stub _ismbcalpha_l
@ cdecl _ismbcalpha_l(long ptr)
@ cdecl _ismbcdigit(long)
@ cdecl _ismbcdigit_l(long ptr)
@ cdecl _ismbcgraph(long)
......
......@@ -1326,7 +1326,7 @@
@ cdecl _ismbcalnum(long)
@ cdecl _ismbcalnum_l(long ptr)
@ cdecl _ismbcalpha(long)
@ stub _ismbcalpha_l
@ cdecl _ismbcalpha_l(long ptr)
@ stub _ismbcblank
@ stub _ismbcblank_l
@ cdecl _ismbcdigit(long)
......
......@@ -649,7 +649,7 @@
@ cdecl _ismbcalnum(long)
@ cdecl _ismbcalnum_l(long ptr)
@ cdecl _ismbcalpha(long)
@ stub _ismbcalpha_l
@ cdecl _ismbcalpha_l(long ptr)
@ cdecl _ismbcdigit(long)
@ cdecl _ismbcdigit_l(long ptr)
@ cdecl _ismbcgraph(long)
......
......@@ -627,7 +627,7 @@
@ cdecl _ismbcalnum(long)
@ cdecl _ismbcalnum_l(long ptr)
@ cdecl _ismbcalpha(long)
@ stub _ismbcalpha_l
@ cdecl _ismbcalpha_l(long ptr)
@ cdecl _ismbcdigit(long)
@ cdecl _ismbcdigit_l(long ptr)
@ cdecl _ismbcgraph(long)
......
......@@ -1460,12 +1460,19 @@ int CDECL _ismbcgraph(unsigned int ch)
}
/*********************************************************************
* _ismbcalpha_l (MSVCRT.@)
*/
int CDECL _ismbcalpha_l(unsigned int ch, MSVCRT__locale_t locale)
{
return MSVCRT__iswalpha_l( msvcrt_mbc_to_wc_l(ch, locale), locale );
}
/*********************************************************************
* _ismbcalpha (MSVCRT.@)
*/
int CDECL _ismbcalpha(unsigned int ch)
{
MSVCRT_wchar_t wch = msvcrt_mbc_to_wc( ch );
return (get_char_typeW( wch ) & C1_ALPHA);
return _ismbcalpha_l( ch, NULL );
}
/*********************************************************************
......
......@@ -1204,6 +1204,7 @@ int __cdecl MSVCRT_towupper(MSVCRT_wint_t);
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__iswgraph_l(MSVCRT_wchar_t, MSVCRT__locale_t);
int __cdecl MSVCRT__iswalpha_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)
......
......@@ -595,7 +595,7 @@
@ cdecl _ismbcalnum(long)
@ cdecl _ismbcalnum_l(long ptr)
@ cdecl _ismbcalpha(long)
# stub _ismbcalpha_l(long ptr)
@ cdecl _ismbcalpha_l(long ptr)
@ cdecl _ismbcdigit(long)
@ cdecl _ismbcdigit_l(long ptr)
@ cdecl _ismbcgraph(long)
......
......@@ -465,7 +465,7 @@
@ cdecl _ismbcalnum(long)
@ cdecl _ismbcalnum_l(long ptr)
@ cdecl _ismbcalpha(long)
@ stub _ismbcalpha_l
@ cdecl _ismbcalpha_l(long ptr)
@ stub _ismbcblank
@ stub _ismbcblank_l
@ cdecl _ismbcdigit(long)
......@@ -1064,7 +1064,7 @@
@ cdecl _o__ismbcalnum(long) _ismbcalnum
@ cdecl _o__ismbcalnum_l(long ptr) _ismbcalnum_l
@ cdecl _o__ismbcalpha(long) _ismbcalpha
@ stub _o__ismbcalpha_l
@ cdecl _o__ismbcalpha_l(long ptr) _ismbcalpha_l
@ stub _o__ismbcblank
@ stub _o__ismbcblank_l
@ cdecl _o__ismbcdigit(long) _ismbcdigit
......
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