Commit 1b86a06f authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msvcrt: Add _ismbcl1_l().

parent 2d89bccf
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
@ cdecl _ismbcl0(long) ucrtbase._ismbcl0 @ cdecl _ismbcl0(long) ucrtbase._ismbcl0
@ cdecl _ismbcl0_l(long ptr) ucrtbase._ismbcl0_l @ cdecl _ismbcl0_l(long ptr) ucrtbase._ismbcl0_l
@ cdecl _ismbcl1(long) ucrtbase._ismbcl1 @ cdecl _ismbcl1(long) ucrtbase._ismbcl1
@ stub _ismbcl1_l @ cdecl _ismbcl1_l(long ptr) ucrtbase._ismbcl1_l
@ cdecl _ismbcl2(long) ucrtbase._ismbcl2 @ cdecl _ismbcl2(long) ucrtbase._ismbcl2
@ stub _ismbcl2_l @ stub _ismbcl2_l
@ cdecl _ismbclegal(long) ucrtbase._ismbclegal @ cdecl _ismbclegal(long) ucrtbase._ismbclegal
......
...@@ -989,7 +989,7 @@ ...@@ -989,7 +989,7 @@
@ cdecl _ismbcl0(long) @ cdecl _ismbcl0(long)
@ cdecl _ismbcl0_l(long ptr) @ cdecl _ismbcl0_l(long ptr)
@ stub _ismbcl1(long) @ stub _ismbcl1(long)
@ stub _ismbcl1_l @ cdecl _ismbcl1_l(long ptr)
@ stub _ismbcl2(long) @ stub _ismbcl2(long)
@ stub _ismbcl2_l @ stub _ismbcl2_l
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
......
...@@ -1335,7 +1335,7 @@ ...@@ -1335,7 +1335,7 @@
@ cdecl _ismbcl0(long) @ cdecl _ismbcl0(long)
@ cdecl _ismbcl0_l(long ptr) @ cdecl _ismbcl0_l(long ptr)
@ stub _ismbcl1(long) @ stub _ismbcl1(long)
@ stub _ismbcl1_l @ cdecl _ismbcl1_l(long ptr)
@ stub _ismbcl2(long) @ stub _ismbcl2(long)
@ stub _ismbcl2_l @ stub _ismbcl2_l
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
......
...@@ -1340,7 +1340,7 @@ ...@@ -1340,7 +1340,7 @@
@ cdecl _ismbcl0(long) @ cdecl _ismbcl0(long)
@ cdecl _ismbcl0_l(long ptr) @ cdecl _ismbcl0_l(long ptr)
@ stub _ismbcl1(long) @ stub _ismbcl1(long)
@ stub _ismbcl1_l @ cdecl _ismbcl1_l(long ptr)
@ stub _ismbcl2(long) @ stub _ismbcl2(long)
@ stub _ismbcl2_l @ stub _ismbcl2_l
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
......
...@@ -661,7 +661,7 @@ ...@@ -661,7 +661,7 @@
@ cdecl _ismbcl0(long) @ cdecl _ismbcl0(long)
@ cdecl _ismbcl0_l(long ptr) @ cdecl _ismbcl0_l(long ptr)
@ stub _ismbcl1(long) @ stub _ismbcl1(long)
@ stub _ismbcl1_l @ cdecl _ismbcl1_l(long ptr)
@ stub _ismbcl2(long) @ stub _ismbcl2(long)
@ stub _ismbcl2_l @ stub _ismbcl2_l
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
......
...@@ -639,7 +639,7 @@ ...@@ -639,7 +639,7 @@
@ cdecl _ismbcl0(long) @ cdecl _ismbcl0(long)
@ cdecl _ismbcl0_l(long ptr) @ cdecl _ismbcl0_l(long ptr)
@ stub _ismbcl1(long) @ stub _ismbcl1(long)
@ stub _ismbcl1_l @ cdecl _ismbcl1_l(long ptr)
@ stub _ismbcl2(long) @ stub _ismbcl2(long)
@ stub _ismbcl2_l @ stub _ismbcl2_l
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
......
...@@ -2579,3 +2579,24 @@ int CDECL _ismbcl0(unsigned int c) ...@@ -2579,3 +2579,24 @@ int CDECL _ismbcl0(unsigned int c)
{ {
return _ismbcl0_l(c, NULL); return _ismbcl0_l(c, NULL);
} }
/*********************************************************************
* _ismbcl1_l (MSVCRT.@)
*/
int CDECL _ismbcl1_l(unsigned int c, MSVCRT__locale_t locale)
{
MSVCRT_pthreadmbcinfo mbcinfo;
if(!locale)
mbcinfo = get_mbcinfo();
else
mbcinfo = locale->mbcinfo;
if(mbcinfo->mbcodepage == 932)
{
/* JIS level-1 */
return _ismbclegal(c) && c >= 0x889f && c <= 0x9872;
}
return 0;
}
...@@ -610,7 +610,7 @@ ...@@ -610,7 +610,7 @@
@ cdecl _ismbcl0(long) @ cdecl _ismbcl0(long)
@ cdecl _ismbcl0_l(long ptr) @ cdecl _ismbcl0_l(long ptr)
@ stub _ismbcl1(long) @ stub _ismbcl1(long)
# stub _ismbcl1_l(long ptr) @ cdecl _ismbcl1_l(long ptr)
@ stub _ismbcl2(long) @ stub _ismbcl2(long)
# stub _ismbcl2_l(long ptr) # stub _ismbcl2_l(long ptr)
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
......
...@@ -479,7 +479,7 @@ ...@@ -479,7 +479,7 @@
@ cdecl _ismbcl0(long) @ cdecl _ismbcl0(long)
@ cdecl _ismbcl0_l(long ptr) @ cdecl _ismbcl0_l(long ptr)
@ stub _ismbcl1(long) @ stub _ismbcl1(long)
@ stub _ismbcl1_l @ cdecl _ismbcl1_l(long ptr)
@ stub _ismbcl2(long) @ stub _ismbcl2(long)
@ stub _ismbcl2_l @ stub _ismbcl2_l
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
......
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