msvcrt: Add _ismbcl0_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
622c218cb2
commit
2d89bccfc3
|
@ -39,7 +39,7 @@
|
|||
@ cdecl _ismbckata(long) ucrtbase._ismbckata
|
||||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbcl0(long) ucrtbase._ismbcl0
|
||||
@ stub _ismbcl0_l
|
||||
@ cdecl _ismbcl0_l(long ptr) ucrtbase._ismbcl0_l
|
||||
@ cdecl _ismbcl1(long) ucrtbase._ismbcl1
|
||||
@ stub _ismbcl1_l
|
||||
@ cdecl _ismbcl2(long) ucrtbase._ismbcl2
|
||||
|
|
|
@ -987,7 +987,7 @@
|
|||
@ cdecl _ismbckata(long)
|
||||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ stub _ismbcl0_l
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ stub _ismbcl1(long)
|
||||
@ stub _ismbcl1_l
|
||||
@ stub _ismbcl2(long)
|
||||
|
|
|
@ -1333,7 +1333,7 @@
|
|||
@ cdecl _ismbckata(long)
|
||||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ stub _ismbcl0_l
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ stub _ismbcl1(long)
|
||||
@ stub _ismbcl1_l
|
||||
@ stub _ismbcl2(long)
|
||||
|
|
|
@ -1338,7 +1338,7 @@
|
|||
@ cdecl _ismbckata(long)
|
||||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ stub _ismbcl0_l
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ stub _ismbcl1(long)
|
||||
@ stub _ismbcl1_l
|
||||
@ stub _ismbcl2(long)
|
||||
|
|
|
@ -659,7 +659,7 @@
|
|||
@ cdecl _ismbckata(long)
|
||||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ stub _ismbcl0_l
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ stub _ismbcl1(long)
|
||||
@ stub _ismbcl1_l
|
||||
@ stub _ismbcl2(long)
|
||||
|
|
|
@ -637,7 +637,7 @@
|
|||
@ cdecl _ismbckata(long)
|
||||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ stub _ismbcl0_l
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ stub _ismbcl1(long)
|
||||
@ stub _ismbcl1_l
|
||||
@ stub _ismbcl2(long)
|
||||
|
|
|
@ -2551,16 +2551,31 @@ unsigned int CDECL _mbctokata(unsigned int c)
|
|||
return c;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _ismbcl0_l (MSVCRT.@)
|
||||
*/
|
||||
int CDECL _ismbcl0_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 non-Kanji */
|
||||
return _ismbclegal(c) && c >= 0x8140 && c <= 0x889e;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _ismbcl0 (MSVCRT.@)
|
||||
*/
|
||||
int CDECL _ismbcl0(unsigned int c)
|
||||
{
|
||||
if(get_mbcinfo()->mbcodepage == 932)
|
||||
{
|
||||
/* JIS non-Kanji */
|
||||
return _ismbclegal(c) && c >= 0x8140 && c <= 0x889e;
|
||||
}
|
||||
return 0;
|
||||
return _ismbcl0_l(c, NULL);
|
||||
}
|
||||
|
|
|
@ -608,7 +608,7 @@
|
|||
@ cdecl _ismbckata(long)
|
||||
# stub _ismbckata_l(long ptr)
|
||||
@ cdecl _ismbcl0(long)
|
||||
# stub _ismbcl0_l(long ptr)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ stub _ismbcl1(long)
|
||||
# stub _ismbcl1_l(long ptr)
|
||||
@ stub _ismbcl2(long)
|
||||
|
|
|
@ -477,7 +477,7 @@
|
|||
@ cdecl _ismbckata(long)
|
||||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ stub _ismbcl0_l
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ stub _ismbcl1(long)
|
||||
@ stub _ismbcl1_l
|
||||
@ stub _ismbcl2(long)
|
||||
|
|
Loading…
Reference in New Issue