msvcrt: Add _ismbcl1_l().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2d89bccfc3
commit
1b86a06ff8
|
@ -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 @@
|
||||||
@ 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 @@
|
||||||
@ 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 @@
|
||||||
@ 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 @@
|
||||||
@ 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 @@
|
||||||
@ 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)
|
||||||
{
|
{
|
||||||
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 @@
|
||||||
@ 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 @@
|
||||||
@ 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)
|
||||||
|
|
Loading…
Reference in New Issue