msvcrt: Add _ismbcpunct_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1750a6969b
commit
986aa52fc4
|
@ -51,7 +51,7 @@
|
|||
@ cdecl _ismbcprint(long) ucrtbase._ismbcprint
|
||||
@ cdecl _ismbcprint_l(long ptr) ucrtbase._ismbcprint_l
|
||||
@ cdecl _ismbcpunct(long) ucrtbase._ismbcpunct
|
||||
@ stub _ismbcpunct_l
|
||||
@ cdecl _ismbcpunct_l(long ptr) ucrtbase._ismbcpunct_l
|
||||
@ cdecl _ismbcspace(long) ucrtbase._ismbcspace
|
||||
@ cdecl _ismbcspace_l(long ptr) ucrtbase._ismbcspace_l
|
||||
@ cdecl _ismbcsymbol(long) ucrtbase._ismbcsymbol
|
||||
|
|
|
@ -424,7 +424,7 @@
|
|||
@ cdecl _o__ismbcprint(long) ucrtbase._o__ismbcprint
|
||||
@ cdecl _o__ismbcprint_l(long ptr) ucrtbase._o__ismbcprint_l
|
||||
@ cdecl _o__ismbcpunct(long) ucrtbase._o__ismbcpunct
|
||||
@ stub _o__ismbcpunct_l
|
||||
@ cdecl _o__ismbcpunct_l(long ptr) ucrtbase._o__ismbcpunct_l
|
||||
@ cdecl _o__ismbcspace(long) ucrtbase._o__ismbcspace
|
||||
@ cdecl _o__ismbcspace_l(long ptr) ucrtbase._o__ismbcspace_l
|
||||
@ cdecl _o__ismbcsymbol(long) ucrtbase._o__ismbcsymbol
|
||||
|
|
|
@ -999,7 +999,7 @@
|
|||
@ cdecl _ismbcprint(long)
|
||||
@ cdecl _ismbcprint_l(long ptr)
|
||||
@ cdecl _ismbcpunct(long)
|
||||
@ stub _ismbcpunct_l
|
||||
@ cdecl _ismbcpunct_l(long ptr)
|
||||
@ cdecl _ismbcspace(long)
|
||||
@ cdecl _ismbcspace_l(long ptr)
|
||||
@ cdecl _ismbcsymbol(long)
|
||||
|
|
|
@ -1345,7 +1345,7 @@
|
|||
@ stub _ismbcprint(long)
|
||||
@ cdecl _ismbcprint_l(long ptr)
|
||||
@ cdecl _ismbcpunct(long)
|
||||
@ stub _ismbcpunct_l
|
||||
@ cdecl _ismbcpunct_l(long ptr)
|
||||
@ cdecl _ismbcspace(long)
|
||||
@ cdecl _ismbcspace_l(long ptr)
|
||||
@ cdecl _ismbcsymbol(long)
|
||||
|
|
|
@ -1350,7 +1350,7 @@
|
|||
@ cdecl _ismbcprint(long)
|
||||
@ cdecl _ismbcprint_l(long ptr)
|
||||
@ cdecl _ismbcpunct(long)
|
||||
@ stub _ismbcpunct_l
|
||||
@ cdecl _ismbcpunct_l(long ptr)
|
||||
@ cdecl _ismbcspace(long)
|
||||
@ cdecl _ismbcspace_l(long ptr)
|
||||
@ cdecl _ismbcsymbol(long)
|
||||
|
|
|
@ -671,7 +671,7 @@
|
|||
@ cdecl _ismbcprint(long)
|
||||
@ cdecl _ismbcprint_l(long ptr)
|
||||
@ cdecl _ismbcpunct(long)
|
||||
@ stub _ismbcpunct_l
|
||||
@ cdecl _ismbcpunct_l(long ptr)
|
||||
@ cdecl _ismbcspace(long)
|
||||
@ cdecl _ismbcspace_l(long ptr)
|
||||
@ cdecl _ismbcsymbol(long)
|
||||
|
|
|
@ -649,7 +649,7 @@
|
|||
@ cdecl _ismbcprint(long)
|
||||
@ cdecl _ismbcprint_l(long ptr)
|
||||
@ cdecl _ismbcpunct(long)
|
||||
@ stub _ismbcpunct_l
|
||||
@ cdecl _ismbcpunct_l(long ptr)
|
||||
@ cdecl _ismbcspace(long)
|
||||
@ cdecl _ismbcspace_l(long ptr)
|
||||
@ cdecl _ismbcsymbol(long)
|
||||
|
|
|
@ -1570,13 +1570,20 @@ int CDECL _ismbcprint(unsigned int ch)
|
|||
return _ismbcprint_l( ch, NULL );
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _ismbcpunct_l (MSVCRT.@)
|
||||
*/
|
||||
int CDECL _ismbcpunct_l(unsigned int ch, MSVCRT__locale_t locale)
|
||||
{
|
||||
return MSVCRT__iswpunct_l( msvcrt_mbc_to_wc_l(ch, locale), locale );
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _ismbcpunct(MSVCRT.@)
|
||||
*/
|
||||
int CDECL _ismbcpunct(unsigned int ch)
|
||||
{
|
||||
MSVCRT_wchar_t wch = msvcrt_mbc_to_wc( ch );
|
||||
return (get_char_typeW( wch ) & C1_PUNCT);
|
||||
return _ismbcpunct_l( ch, NULL );
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
|
|
|
@ -1208,6 +1208,7 @@ 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);
|
||||
int __cdecl MSVCRT__iswprint_l(MSVCRT_wchar_t, MSVCRT__locale_t);
|
||||
int __cdecl MSVCRT__iswpunct_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)
|
||||
|
|
|
@ -617,7 +617,7 @@
|
|||
@ cdecl _ismbcprint(long)
|
||||
@ cdecl _ismbcprint_l(long ptr)
|
||||
@ cdecl _ismbcpunct(long)
|
||||
# stub _ismbcpunct_l(long ptr)
|
||||
@ cdecl _ismbcpunct_l(long ptr)
|
||||
@ cdecl _ismbcspace(long)
|
||||
@ cdecl _ismbcspace_l(long ptr)
|
||||
@ cdecl _ismbcsymbol(long)
|
||||
|
|
|
@ -489,7 +489,7 @@
|
|||
@ cdecl _ismbcprint(long)
|
||||
@ cdecl _ismbcprint_l(long ptr)
|
||||
@ cdecl _ismbcpunct(long)
|
||||
@ stub _ismbcpunct_l
|
||||
@ cdecl _ismbcpunct_l(long ptr)
|
||||
@ cdecl _ismbcspace(long)
|
||||
@ cdecl _ismbcspace_l(long ptr)
|
||||
@ cdecl _ismbcsymbol(long)
|
||||
|
@ -1088,7 +1088,7 @@
|
|||
@ cdecl _o__ismbcprint(long) _ismbcprint
|
||||
@ cdecl _o__ismbcprint_l(long ptr) _ismbcprint_l
|
||||
@ cdecl _o__ismbcpunct(long) _ismbcpunct
|
||||
@ stub _o__ismbcpunct_l
|
||||
@ cdecl _o__ismbcpunct_l(long ptr) _ismbcpunct_l
|
||||
@ cdecl _o__ismbcspace(long) _ismbcspace
|
||||
@ cdecl _o__ismbcspace_l(long ptr) _ismbcspace_l
|
||||
@ cdecl _o__ismbcsymbol(long) _ismbcsymbol
|
||||
|
|
Loading…
Reference in New Issue