msvcrt: Add _ismbcl1().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46644 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
1b86a06ff8
commit
698b26a432
|
@ -988,7 +988,7 @@
|
|||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ stub _ismbcl1(long)
|
||||
@ cdecl _ismbcl1(long)
|
||||
@ cdecl _ismbcl1_l(long ptr)
|
||||
@ stub _ismbcl2(long)
|
||||
@ stub _ismbcl2_l
|
||||
|
|
|
@ -1334,7 +1334,7 @@
|
|||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ stub _ismbcl1(long)
|
||||
@ cdecl _ismbcl1(long)
|
||||
@ cdecl _ismbcl1_l(long ptr)
|
||||
@ stub _ismbcl2(long)
|
||||
@ stub _ismbcl2_l
|
||||
|
|
|
@ -1339,7 +1339,7 @@
|
|||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ stub _ismbcl1(long)
|
||||
@ cdecl _ismbcl1(long)
|
||||
@ cdecl _ismbcl1_l(long ptr)
|
||||
@ stub _ismbcl2(long)
|
||||
@ stub _ismbcl2_l
|
||||
|
|
|
@ -382,7 +382,7 @@
|
|||
@ cdecl _ismbchira(long)
|
||||
@ cdecl _ismbckata(long)
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ stub _ismbcl1(long)
|
||||
@ cdecl _ismbcl1(long)
|
||||
@ stub _ismbcl2(long)
|
||||
@ cdecl _ismbclegal(long)
|
||||
@ cdecl _ismbclower(long)
|
||||
|
|
|
@ -377,7 +377,7 @@
|
|||
@ cdecl _ismbchira(long)
|
||||
@ cdecl _ismbckata(long)
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ stub _ismbcl1(long)
|
||||
@ cdecl _ismbcl1(long)
|
||||
@ stub _ismbcl2(long)
|
||||
@ cdecl _ismbclegal(long)
|
||||
@ cdecl _ismbclower(long)
|
||||
|
|
|
@ -660,7 +660,7 @@
|
|||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ stub _ismbcl1(long)
|
||||
@ cdecl _ismbcl1(long)
|
||||
@ cdecl _ismbcl1_l(long ptr)
|
||||
@ stub _ismbcl2(long)
|
||||
@ stub _ismbcl2_l
|
||||
|
|
|
@ -638,7 +638,7 @@
|
|||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ stub _ismbcl1(long)
|
||||
@ cdecl _ismbcl1(long)
|
||||
@ cdecl _ismbcl1_l(long ptr)
|
||||
@ stub _ismbcl2(long)
|
||||
@ stub _ismbcl2_l
|
||||
|
|
|
@ -2600,3 +2600,11 @@ int CDECL _ismbcl1_l(unsigned int c, MSVCRT__locale_t locale)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _ismbcl1 (MSVCRT.@)
|
||||
*/
|
||||
int CDECL _ismbcl1(unsigned int c)
|
||||
{
|
||||
return _ismbcl1_l(c, NULL);
|
||||
}
|
||||
|
|
|
@ -609,7 +609,7 @@
|
|||
# stub _ismbckata_l(long ptr)
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ stub _ismbcl1(long)
|
||||
@ cdecl _ismbcl1(long)
|
||||
@ cdecl _ismbcl1_l(long ptr)
|
||||
@ stub _ismbcl2(long)
|
||||
# stub _ismbcl2_l(long ptr)
|
||||
|
|
|
@ -3275,11 +3275,17 @@ static void test__ismbclx(void)
|
|||
ret = _ismbcl0(0);
|
||||
ok(!ret, "got %d\n", ret);
|
||||
|
||||
ret = _ismbcl1(0);
|
||||
ok(!ret, "got %d\n", ret);
|
||||
|
||||
cp = _setmbcp(1252);
|
||||
|
||||
ret = _ismbcl0(0x8140);
|
||||
ok(!ret, "got %d\n", ret);
|
||||
|
||||
ret = _ismbcl1(0x889f);
|
||||
ok(!ret, "got %d\n", ret);
|
||||
|
||||
_setmbcp(932);
|
||||
|
||||
ret = _ismbcl0(0);
|
||||
|
@ -3291,6 +3297,15 @@ static void test__ismbclx(void)
|
|||
ret = _ismbcl0(0x817f);
|
||||
ok(!ret, "got %d\n", ret);
|
||||
|
||||
ret = _ismbcl1(0);
|
||||
ok(!ret, "got %d\n", ret);
|
||||
|
||||
ret = _ismbcl1(0x889f);
|
||||
ok(ret, "got %d\n", ret);
|
||||
|
||||
ret = _ismbcl1(0x88fd);
|
||||
ok(!ret, "got %d\n", ret);
|
||||
|
||||
_setmbcp(cp);
|
||||
}
|
||||
|
||||
|
|
|
@ -478,7 +478,7 @@
|
|||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ stub _ismbcl1(long)
|
||||
@ cdecl _ismbcl1(long)
|
||||
@ cdecl _ismbcl1_l(long ptr)
|
||||
@ stub _ismbcl2(long)
|
||||
@ stub _ismbcl2_l
|
||||
|
|
Loading…
Reference in New Issue