Commit 71cd3d5e authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Add _ismbcgraph_l implementation.

parent fd74aeb7
......@@ -33,7 +33,7 @@
@ cdecl _ismbcdigit(long) ucrtbase._ismbcdigit
@ cdecl _ismbcdigit_l(long ptr) ucrtbase._ismbcdigit_l
@ cdecl _ismbcgraph(long) ucrtbase._ismbcgraph
@ stub _ismbcgraph_l
@ cdecl _ismbcgraph_l(long ptr) ucrtbase._ismbcgraph_l
@ cdecl _ismbchira(long) ucrtbase._ismbchira
@ stub _ismbchira_l
@ cdecl _ismbckata(long) ucrtbase._ismbckata
......
......@@ -406,7 +406,7 @@
@ cdecl _o__ismbcdigit(long) ucrtbase._o__ismbcdigit
@ cdecl _o__ismbcdigit_l(long ptr) ucrtbase._o__ismbcdigit_l
@ cdecl _o__ismbcgraph(long) ucrtbase._o__ismbcgraph
@ stub _o__ismbcgraph_l
@ cdecl _o__ismbcgraph_l(long ptr) ucrtbase._o__ismbcgraph_l
@ cdecl _o__ismbchira(long) ucrtbase._o__ismbchira
@ stub _o__ismbchira_l
@ cdecl _o__ismbckata(long) ucrtbase._o__ismbckata
......
......@@ -981,7 +981,7 @@
@ cdecl _ismbcdigit(long)
@ cdecl _ismbcdigit_l(long ptr)
@ cdecl _ismbcgraph(long)
@ stub _ismbcgraph_l
@ cdecl _ismbcgraph_l(long ptr)
@ cdecl _ismbchira(long)
@ stub _ismbchira_l
@ cdecl _ismbckata(long)
......
......@@ -1327,7 +1327,7 @@
@ cdecl _ismbcdigit(long)
@ cdecl _ismbcdigit_l(long ptr)
@ cdecl _ismbcgraph(long)
@ stub _ismbcgraph_l
@ cdecl _ismbcgraph_l(long ptr)
@ cdecl _ismbchira(long)
@ stub _ismbchira_l
@ cdecl _ismbckata(long)
......
......@@ -1332,7 +1332,7 @@
@ cdecl _ismbcdigit(long)
@ cdecl _ismbcdigit_l(long ptr)
@ cdecl _ismbcgraph(long)
@ stub _ismbcgraph_l
@ cdecl _ismbcgraph_l(long ptr)
@ cdecl _ismbchira(long)
@ stub _ismbchira_l
@ cdecl _ismbckata(long)
......
......@@ -653,7 +653,7 @@
@ cdecl _ismbcdigit(long)
@ cdecl _ismbcdigit_l(long ptr)
@ cdecl _ismbcgraph(long)
@ stub _ismbcgraph_l
@ cdecl _ismbcgraph_l(long ptr)
@ cdecl _ismbchira(long)
@ stub _ismbchira_l
@ cdecl _ismbckata(long)
......
......@@ -631,7 +631,7 @@
@ cdecl _ismbcdigit(long)
@ cdecl _ismbcdigit_l(long ptr)
@ cdecl _ismbcgraph(long)
@ stub _ismbcgraph_l
@ cdecl _ismbcgraph_l(long ptr)
@ cdecl _ismbchira(long)
@ stub _ismbchira_l
@ cdecl _ismbckata(long)
......
......@@ -1444,12 +1444,19 @@ int CDECL _ismbcdigit(unsigned int ch)
}
/*********************************************************************
* _ismbcgraph_l(MSVCRT.@)
*/
int CDECL _ismbcgraph_l(unsigned int ch, MSVCRT__locale_t locale)
{
return MSVCRT__iswgraph_l( msvcrt_mbc_to_wc_l(ch, locale), locale );
}
/*********************************************************************
* _ismbcgraph(MSVCRT.@)
*/
int CDECL _ismbcgraph(unsigned int ch)
{
MSVCRT_wchar_t wch = msvcrt_mbc_to_wc( ch );
return (get_char_typeW( wch ) & (C1_UPPER | C1_LOWER | C1_DIGIT | C1_PUNCT | C1_ALPHA));
return _ismbcgraph_l( ch, NULL );
}
/*********************************************************************
......
......@@ -1203,6 +1203,7 @@ int __cdecl MSVCRT_towlower(MSVCRT_wint_t);
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);
/* 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)
......
......@@ -599,7 +599,7 @@
@ cdecl _ismbcdigit(long)
@ cdecl _ismbcdigit_l(long ptr)
@ cdecl _ismbcgraph(long)
# stub _ismbcgraph_l(long ptr)
@ cdecl _ismbcgraph_l(long ptr)
@ cdecl _ismbchira(long)
# stub _ismbchira_l(long ptr)
@ cdecl _ismbckata(long)
......
......@@ -471,7 +471,7 @@
@ cdecl _ismbcdigit(long)
@ cdecl _ismbcdigit_l(long ptr)
@ cdecl _ismbcgraph(long)
@ stub _ismbcgraph_l
@ cdecl _ismbcgraph_l(long ptr)
@ cdecl _ismbchira(long)
@ stub _ismbchira_l
@ cdecl _ismbckata(long)
......@@ -1070,7 +1070,7 @@
@ cdecl _o__ismbcdigit(long) _ismbcdigit
@ cdecl _o__ismbcdigit_l(long ptr) _ismbcdigit_l
@ cdecl _o__ismbcgraph(long) _ismbcgraph
@ stub _o__ismbcgraph_l
@ cdecl _o__ismbcgraph_l(long ptr) _ismbcgraph_l
@ cdecl _o__ismbchira(long) _ismbchira
@ stub _o__ismbchira_l
@ cdecl _o__ismbckata(long) _ismbckata
......
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