Commit 4bca5b9f authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Add _ismbcspace_l implementation.

parent 95b3ff9f
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
@ cdecl _ismbcpunct(long) ucrtbase._ismbcpunct @ cdecl _ismbcpunct(long) ucrtbase._ismbcpunct
@ stub _ismbcpunct_l @ stub _ismbcpunct_l
@ cdecl _ismbcspace(long) ucrtbase._ismbcspace @ cdecl _ismbcspace(long) ucrtbase._ismbcspace
@ stub _ismbcspace_l @ cdecl _ismbcspace_l(long ptr) ucrtbase._ismbcspace_l
@ cdecl _ismbcsymbol(long) ucrtbase._ismbcsymbol @ cdecl _ismbcsymbol(long) ucrtbase._ismbcsymbol
@ stub _ismbcsymbol_l @ stub _ismbcsymbol_l
@ cdecl _ismbcupper(long) ucrtbase._ismbcupper @ cdecl _ismbcupper(long) ucrtbase._ismbcupper
......
...@@ -426,7 +426,7 @@ ...@@ -426,7 +426,7 @@
@ cdecl _o__ismbcpunct(long) ucrtbase._o__ismbcpunct @ cdecl _o__ismbcpunct(long) ucrtbase._o__ismbcpunct
@ stub _o__ismbcpunct_l @ stub _o__ismbcpunct_l
@ cdecl _o__ismbcspace(long) ucrtbase._o__ismbcspace @ 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 @ cdecl _o__ismbcsymbol(long) ucrtbase._o__ismbcsymbol
@ stub _o__ismbcsymbol_l @ stub _o__ismbcsymbol_l
@ cdecl _o__ismbcupper(long) ucrtbase._o__ismbcupper @ cdecl _o__ismbcupper(long) ucrtbase._o__ismbcupper
......
...@@ -1001,7 +1001,7 @@ ...@@ -1001,7 +1001,7 @@
@ cdecl _ismbcpunct(long) @ cdecl _ismbcpunct(long)
@ stub _ismbcpunct_l @ stub _ismbcpunct_l
@ cdecl _ismbcspace(long) @ cdecl _ismbcspace(long)
@ stub _ismbcspace_l @ cdecl _ismbcspace_l(long ptr)
@ cdecl _ismbcsymbol(long) @ cdecl _ismbcsymbol(long)
@ stub _ismbcsymbol_l @ stub _ismbcsymbol_l
@ cdecl _ismbcupper(long) @ cdecl _ismbcupper(long)
......
...@@ -1347,7 +1347,7 @@ ...@@ -1347,7 +1347,7 @@
@ cdecl _ismbcpunct(long) @ cdecl _ismbcpunct(long)
@ stub _ismbcpunct_l @ stub _ismbcpunct_l
@ cdecl _ismbcspace(long) @ cdecl _ismbcspace(long)
@ stub _ismbcspace_l @ cdecl _ismbcspace_l(long ptr)
@ cdecl _ismbcsymbol(long) @ cdecl _ismbcsymbol(long)
@ stub _ismbcsymbol_l @ stub _ismbcsymbol_l
@ cdecl _ismbcupper(long) @ cdecl _ismbcupper(long)
......
...@@ -1352,7 +1352,7 @@ ...@@ -1352,7 +1352,7 @@
@ cdecl _ismbcpunct(long) @ cdecl _ismbcpunct(long)
@ stub _ismbcpunct_l @ stub _ismbcpunct_l
@ cdecl _ismbcspace(long) @ cdecl _ismbcspace(long)
@ stub _ismbcspace_l @ cdecl _ismbcspace_l(long ptr)
@ cdecl _ismbcsymbol(long) @ cdecl _ismbcsymbol(long)
@ stub _ismbcsymbol_l @ stub _ismbcsymbol_l
@ cdecl _ismbcupper(long) @ cdecl _ismbcupper(long)
......
...@@ -673,7 +673,7 @@ ...@@ -673,7 +673,7 @@
@ cdecl _ismbcpunct(long) @ cdecl _ismbcpunct(long)
@ stub _ismbcpunct_l @ stub _ismbcpunct_l
@ cdecl _ismbcspace(long) @ cdecl _ismbcspace(long)
@ stub _ismbcspace_l @ cdecl _ismbcspace_l(long ptr)
@ cdecl _ismbcsymbol(long) @ cdecl _ismbcsymbol(long)
@ stub _ismbcsymbol_l @ stub _ismbcsymbol_l
@ cdecl _ismbcupper(long) @ cdecl _ismbcupper(long)
......
...@@ -651,7 +651,7 @@ ...@@ -651,7 +651,7 @@
@ cdecl _ismbcpunct(long) @ cdecl _ismbcpunct(long)
@ stub _ismbcpunct_l @ stub _ismbcpunct_l
@ cdecl _ismbcspace(long) @ cdecl _ismbcspace(long)
@ stub _ismbcspace_l @ cdecl _ismbcspace_l(long ptr)
@ cdecl _ismbcsymbol(long) @ cdecl _ismbcsymbol(long)
@ stub _ismbcsymbol_l @ stub _ismbcsymbol_l
@ cdecl _ismbcupper(long) @ cdecl _ismbcupper(long)
......
...@@ -1539,12 +1539,19 @@ int CDECL _ismbcalnum(unsigned int ch) ...@@ -1539,12 +1539,19 @@ int CDECL _ismbcalnum(unsigned int ch)
} }
/********************************************************************* /*********************************************************************
* _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.@) * _ismbcspace (MSVCRT.@)
*/ */
int CDECL _ismbcspace(unsigned int ch) int CDECL _ismbcspace(unsigned int ch)
{ {
MSVCRT_wchar_t wch = msvcrt_mbc_to_wc( ch ); return _ismbcspace_l( ch, NULL );
return (get_char_typeW( wch ) & C1_SPACE);
} }
/********************************************************************* /*********************************************************************
......
...@@ -619,7 +619,7 @@ ...@@ -619,7 +619,7 @@
@ cdecl _ismbcpunct(long) @ cdecl _ismbcpunct(long)
# stub _ismbcpunct_l(long ptr) # stub _ismbcpunct_l(long ptr)
@ cdecl _ismbcspace(long) @ cdecl _ismbcspace(long)
# stub _ismbcspace_l(long ptr) @ cdecl _ismbcspace_l(long ptr)
@ cdecl _ismbcsymbol(long) @ cdecl _ismbcsymbol(long)
# stub _ismbcsymbol_l(long ptr) # stub _ismbcsymbol_l(long ptr)
@ cdecl _ismbcupper(long) @ cdecl _ismbcupper(long)
......
...@@ -491,7 +491,7 @@ ...@@ -491,7 +491,7 @@
@ cdecl _ismbcpunct(long) @ cdecl _ismbcpunct(long)
@ stub _ismbcpunct_l @ stub _ismbcpunct_l
@ cdecl _ismbcspace(long) @ cdecl _ismbcspace(long)
@ stub _ismbcspace_l @ cdecl _ismbcspace_l(long ptr)
@ cdecl _ismbcsymbol(long) @ cdecl _ismbcsymbol(long)
@ stub _ismbcsymbol_l @ stub _ismbcsymbol_l
@ cdecl _ismbcupper(long) @ cdecl _ismbcupper(long)
...@@ -1090,7 +1090,7 @@ ...@@ -1090,7 +1090,7 @@
@ cdecl _o__ismbcpunct(long) _ismbcpunct @ cdecl _o__ismbcpunct(long) _ismbcpunct
@ stub _o__ismbcpunct_l @ stub _o__ismbcpunct_l
@ cdecl _o__ismbcspace(long) _ismbcspace @ cdecl _o__ismbcspace(long) _ismbcspace
@ stub _o__ismbcspace_l @ cdecl _o__ismbcspace_l(long ptr) _ismbcspace_l
@ cdecl _o__ismbcsymbol(long) _ismbcsymbol @ cdecl _o__ismbcsymbol(long) _ismbcsymbol
@ stub _o__ismbcsymbol_l @ stub _o__ismbcsymbol_l
@ cdecl _o__ismbcupper(long) _ismbcupper @ cdecl _o__ismbcupper(long) _ismbcupper
......
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