msvcrt: Add _ismbcgraph_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fd74aeb726
commit
71cd3d5e8c
|
@ -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)
|
||||
|
|
|
@ -1443,13 +1443,20 @@ int CDECL _ismbcdigit(unsigned int ch)
|
|||
return _ismbcdigit_l( ch, NULL );
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _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
|
||||
|
|
Loading…
Reference in New Issue