Commit cebb9470 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msvcrt: Add _ismbcl2().

parent c166dfec
...@@ -990,7 +990,7 @@ ...@@ -990,7 +990,7 @@
@ cdecl _ismbcl0_l(long ptr) @ cdecl _ismbcl0_l(long ptr)
@ cdecl _ismbcl1(long) @ cdecl _ismbcl1(long)
@ cdecl _ismbcl1_l(long ptr) @ cdecl _ismbcl1_l(long ptr)
@ stub _ismbcl2(long) @ cdecl _ismbcl2(long)
@ cdecl _ismbcl2_l(long ptr) @ cdecl _ismbcl2_l(long ptr)
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
......
...@@ -1336,7 +1336,7 @@ ...@@ -1336,7 +1336,7 @@
@ cdecl _ismbcl0_l(long ptr) @ cdecl _ismbcl0_l(long ptr)
@ cdecl _ismbcl1(long) @ cdecl _ismbcl1(long)
@ cdecl _ismbcl1_l(long ptr) @ cdecl _ismbcl1_l(long ptr)
@ stub _ismbcl2(long) @ cdecl _ismbcl2(long)
@ cdecl _ismbcl2_l(long ptr) @ cdecl _ismbcl2_l(long ptr)
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
......
...@@ -1341,7 +1341,7 @@ ...@@ -1341,7 +1341,7 @@
@ cdecl _ismbcl0_l(long ptr) @ cdecl _ismbcl0_l(long ptr)
@ cdecl _ismbcl1(long) @ cdecl _ismbcl1(long)
@ cdecl _ismbcl1_l(long ptr) @ cdecl _ismbcl1_l(long ptr)
@ stub _ismbcl2(long) @ cdecl _ismbcl2(long)
@ cdecl _ismbcl2_l(long ptr) @ cdecl _ismbcl2_l(long ptr)
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
......
...@@ -383,7 +383,7 @@ ...@@ -383,7 +383,7 @@
@ cdecl _ismbckata(long) @ cdecl _ismbckata(long)
@ cdecl _ismbcl0(long) @ cdecl _ismbcl0(long)
@ cdecl _ismbcl1(long) @ cdecl _ismbcl1(long)
@ stub _ismbcl2(long) @ cdecl _ismbcl2(long)
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclower(long) @ cdecl _ismbclower(long)
@ cdecl _ismbcprint(long) @ cdecl _ismbcprint(long)
......
...@@ -378,7 +378,7 @@ ...@@ -378,7 +378,7 @@
@ cdecl _ismbckata(long) @ cdecl _ismbckata(long)
@ cdecl _ismbcl0(long) @ cdecl _ismbcl0(long)
@ cdecl _ismbcl1(long) @ cdecl _ismbcl1(long)
@ stub _ismbcl2(long) @ cdecl _ismbcl2(long)
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclower(long) @ cdecl _ismbclower(long)
@ cdecl _ismbcprint(long) @ cdecl _ismbcprint(long)
......
...@@ -662,7 +662,7 @@ ...@@ -662,7 +662,7 @@
@ cdecl _ismbcl0_l(long ptr) @ cdecl _ismbcl0_l(long ptr)
@ cdecl _ismbcl1(long) @ cdecl _ismbcl1(long)
@ cdecl _ismbcl1_l(long ptr) @ cdecl _ismbcl1_l(long ptr)
@ stub _ismbcl2(long) @ cdecl _ismbcl2(long)
@ cdecl _ismbcl2_l(long ptr) @ cdecl _ismbcl2_l(long ptr)
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
......
...@@ -640,7 +640,7 @@ ...@@ -640,7 +640,7 @@
@ cdecl _ismbcl0_l(long ptr) @ cdecl _ismbcl0_l(long ptr)
@ cdecl _ismbcl1(long) @ cdecl _ismbcl1(long)
@ cdecl _ismbcl1_l(long ptr) @ cdecl _ismbcl1_l(long ptr)
@ stub _ismbcl2(long) @ cdecl _ismbcl2(long)
@ cdecl _ismbcl2_l(long ptr) @ cdecl _ismbcl2_l(long ptr)
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
......
...@@ -2629,3 +2629,11 @@ int CDECL _ismbcl2_l(unsigned int c, MSVCRT__locale_t locale) ...@@ -2629,3 +2629,11 @@ int CDECL _ismbcl2_l(unsigned int c, MSVCRT__locale_t locale)
return 0; return 0;
} }
/*********************************************************************
* _ismbcl2 (MSVCRT.@)
*/
int CDECL _ismbcl2(unsigned int c)
{
return _ismbcl2_l(c, NULL);
}
...@@ -611,7 +611,7 @@ ...@@ -611,7 +611,7 @@
@ cdecl _ismbcl0_l(long ptr) @ cdecl _ismbcl0_l(long ptr)
@ cdecl _ismbcl1(long) @ cdecl _ismbcl1(long)
@ cdecl _ismbcl1_l(long ptr) @ cdecl _ismbcl1_l(long ptr)
@ stub _ismbcl2(long) @ cdecl _ismbcl2(long)
@ cdecl _ismbcl2_l(long ptr) @ cdecl _ismbcl2_l(long ptr)
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
......
...@@ -3278,6 +3278,9 @@ static void test__ismbclx(void) ...@@ -3278,6 +3278,9 @@ static void test__ismbclx(void)
ret = _ismbcl1(0); ret = _ismbcl1(0);
ok(!ret, "got %d\n", ret); ok(!ret, "got %d\n", ret);
ret = _ismbcl2(0);
ok(!ret, "got %d\n", ret);
cp = _setmbcp(1252); cp = _setmbcp(1252);
ret = _ismbcl0(0x8140); ret = _ismbcl0(0x8140);
...@@ -3286,6 +3289,9 @@ static void test__ismbclx(void) ...@@ -3286,6 +3289,9 @@ static void test__ismbclx(void)
ret = _ismbcl1(0x889f); ret = _ismbcl1(0x889f);
ok(!ret, "got %d\n", ret); ok(!ret, "got %d\n", ret);
ret = _ismbcl2(0x989f);
ok(!ret, "got %d\n", ret);
_setmbcp(932); _setmbcp(932);
ret = _ismbcl0(0); ret = _ismbcl0(0);
...@@ -3306,6 +3312,15 @@ static void test__ismbclx(void) ...@@ -3306,6 +3312,15 @@ static void test__ismbclx(void)
ret = _ismbcl1(0x88fd); ret = _ismbcl1(0x88fd);
ok(!ret, "got %d\n", ret); ok(!ret, "got %d\n", ret);
ret = _ismbcl2(0);
ok(!ret, "got %d\n", ret);
ret = _ismbcl2(0x989f);
ok(ret, "got %d\n", ret);
ret = _ismbcl2(0x993f);
ok(!ret, "got %d\n", ret);
_setmbcp(cp); _setmbcp(cp);
} }
......
...@@ -480,7 +480,7 @@ ...@@ -480,7 +480,7 @@
@ cdecl _ismbcl0_l(long ptr) @ cdecl _ismbcl0_l(long ptr)
@ cdecl _ismbcl1(long) @ cdecl _ismbcl1(long)
@ cdecl _ismbcl1_l(long ptr) @ cdecl _ismbcl1_l(long ptr)
@ stub _ismbcl2(long) @ cdecl _ismbcl2(long)
@ cdecl _ismbcl2_l(long ptr) @ cdecl _ismbcl2_l(long ptr)
@ cdecl _ismbclegal(long) @ cdecl _ismbclegal(long)
@ cdecl _ismbclegal_l(long ptr) @ cdecl _ismbclegal_l(long ptr)
......
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