msvcrt: Add _ismbcspace_l implementation.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2020-07-16 15:33:25 +02:00 committed by Alexandre Julliard
parent 95b3ff9f74
commit 4bca5b9f51
10 changed files with 19 additions and 12 deletions

View File

@ -53,7 +53,7 @@
@ cdecl _ismbcpunct(long) ucrtbase._ismbcpunct
@ stub _ismbcpunct_l
@ cdecl _ismbcspace(long) ucrtbase._ismbcspace
@ stub _ismbcspace_l
@ cdecl _ismbcspace_l(long ptr) ucrtbase._ismbcspace_l
@ cdecl _ismbcsymbol(long) ucrtbase._ismbcsymbol
@ stub _ismbcsymbol_l
@ cdecl _ismbcupper(long) ucrtbase._ismbcupper

View File

@ -426,7 +426,7 @@
@ cdecl _o__ismbcpunct(long) ucrtbase._o__ismbcpunct
@ stub _o__ismbcpunct_l
@ cdecl _o__ismbcspace(long) ucrtbase._o__ismbcspace
@ stub _o__ismbcspace_l
@ cdecl _o__ismbcspace_l(long ptr) ucrtbase._o__ismbcspace_l
@ cdecl _o__ismbcsymbol(long) ucrtbase._o__ismbcsymbol
@ stub _o__ismbcsymbol_l
@ cdecl _o__ismbcupper(long) ucrtbase._o__ismbcupper

View File

@ -1001,7 +1001,7 @@
@ cdecl _ismbcpunct(long)
@ stub _ismbcpunct_l
@ cdecl _ismbcspace(long)
@ stub _ismbcspace_l
@ cdecl _ismbcspace_l(long ptr)
@ cdecl _ismbcsymbol(long)
@ stub _ismbcsymbol_l
@ cdecl _ismbcupper(long)

View File

@ -1347,7 +1347,7 @@
@ cdecl _ismbcpunct(long)
@ stub _ismbcpunct_l
@ cdecl _ismbcspace(long)
@ stub _ismbcspace_l
@ cdecl _ismbcspace_l(long ptr)
@ cdecl _ismbcsymbol(long)
@ stub _ismbcsymbol_l
@ cdecl _ismbcupper(long)

View File

@ -1352,7 +1352,7 @@
@ cdecl _ismbcpunct(long)
@ stub _ismbcpunct_l
@ cdecl _ismbcspace(long)
@ stub _ismbcspace_l
@ cdecl _ismbcspace_l(long ptr)
@ cdecl _ismbcsymbol(long)
@ stub _ismbcsymbol_l
@ cdecl _ismbcupper(long)

View File

@ -673,7 +673,7 @@
@ cdecl _ismbcpunct(long)
@ stub _ismbcpunct_l
@ cdecl _ismbcspace(long)
@ stub _ismbcspace_l
@ cdecl _ismbcspace_l(long ptr)
@ cdecl _ismbcsymbol(long)
@ stub _ismbcsymbol_l
@ cdecl _ismbcupper(long)

View File

@ -651,7 +651,7 @@
@ cdecl _ismbcpunct(long)
@ stub _ismbcpunct_l
@ cdecl _ismbcspace(long)
@ stub _ismbcspace_l
@ cdecl _ismbcspace_l(long ptr)
@ cdecl _ismbcsymbol(long)
@ stub _ismbcsymbol_l
@ cdecl _ismbcupper(long)

View File

@ -1538,13 +1538,20 @@ int CDECL _ismbcalnum(unsigned int ch)
return _ismbcalnum_l( ch, NULL );
}
/*********************************************************************
* _ismbcspace_l (MSVCRT.@)
*/
int CDECL _ismbcspace_l(unsigned int ch, MSVCRT__locale_t locale)
{
return MSVCRT__iswspace_l( msvcrt_mbc_to_wc_l(ch, locale), locale );
}
/*********************************************************************
* _ismbcspace (MSVCRT.@)
*/
int CDECL _ismbcspace(unsigned int ch)
{
MSVCRT_wchar_t wch = msvcrt_mbc_to_wc( ch );
return (get_char_typeW( wch ) & C1_SPACE);
return _ismbcspace_l( ch, NULL );
}
/*********************************************************************

View File

@ -619,7 +619,7 @@
@ cdecl _ismbcpunct(long)
# stub _ismbcpunct_l(long ptr)
@ cdecl _ismbcspace(long)
# stub _ismbcspace_l(long ptr)
@ cdecl _ismbcspace_l(long ptr)
@ cdecl _ismbcsymbol(long)
# stub _ismbcsymbol_l(long ptr)
@ cdecl _ismbcupper(long)

View File

@ -491,7 +491,7 @@
@ cdecl _ismbcpunct(long)
@ stub _ismbcpunct_l
@ cdecl _ismbcspace(long)
@ stub _ismbcspace_l
@ cdecl _ismbcspace_l(long ptr)
@ cdecl _ismbcsymbol(long)
@ stub _ismbcsymbol_l
@ cdecl _ismbcupper(long)
@ -1090,7 +1090,7 @@
@ cdecl _o__ismbcpunct(long) _ismbcpunct
@ stub _o__ismbcpunct_l
@ cdecl _o__ismbcspace(long) _ismbcspace
@ stub _o__ismbcspace_l
@ cdecl _o__ismbcspace_l(long ptr) _ismbcspace_l
@ cdecl _o__ismbcsymbol(long) _ismbcsymbol
@ stub _o__ismbcsymbol_l
@ cdecl _o__ismbcupper(long) _ismbcupper