Commit fbbcd3f8 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Add _ismbbkana_l implementation.

parent a81f5509
......@@ -11,7 +11,7 @@
@ cdecl _ismbbkalnum(long) ucrtbase._ismbbkalnum
@ stub _ismbbkalnum_l
@ cdecl _ismbbkana(long) ucrtbase._ismbbkana
@ stub _ismbbkana_l
@ cdecl _ismbbkana_l(long ptr) ucrtbase._ismbbkana_l
@ cdecl _ismbbkprint(long) ucrtbase._ismbbkprint
@ stub _ismbbkprint_l
@ cdecl _ismbbkpunct(long) ucrtbase._ismbbkpunct
......
......@@ -384,7 +384,7 @@
@ stub _o__ismbbkalnum
@ stub _o__ismbbkalnum_l
@ cdecl _o__ismbbkana(long) ucrtbase._o__ismbbkana
@ stub _o__ismbbkana_l
@ cdecl _o__ismbbkana_l(long ptr) ucrtbase._o__ismbbkana_l
@ stub _o__ismbbkprint
@ stub _o__ismbbkprint_l
@ stub _o__ismbbkpunct
......
......@@ -961,7 +961,7 @@
@ stub _ismbbkalnum(long)
@ stub _ismbbkalnum_l
@ cdecl _ismbbkana(long)
@ stub _ismbbkana_l
@ cdecl _ismbbkana_l(long ptr)
@ stub _ismbbkprint(long)
@ stub _ismbbkprint_l
@ stub _ismbbkpunct(long)
......
......@@ -1307,7 +1307,7 @@
@ stub _ismbbkalnum(long)
@ stub _ismbbkalnum_l
@ cdecl _ismbbkana(long)
@ stub _ismbbkana_l
@ cdecl _ismbbkana_l(long ptr)
@ stub _ismbbkprint(long)
@ stub _ismbbkprint_l
@ stub _ismbbkpunct(long)
......
......@@ -1310,7 +1310,7 @@
@ stub _ismbbkalnum(long)
@ stub _ismbbkalnum_l
@ cdecl _ismbbkana(long)
@ stub _ismbbkana_l
@ cdecl _ismbbkana_l(long ptr)
@ stub _ismbbkprint(long)
@ stub _ismbbkprint_l
@ stub _ismbbkpunct(long)
......
......@@ -1213,7 +1213,7 @@
@ cdecl _ismbbkalnum(long) msvcr120._ismbbkalnum
@ stub _ismbbkalnum_l
@ cdecl _ismbbkana(long) msvcr120._ismbbkana
@ stub _ismbbkana_l
@ cdecl _ismbbkana_l(long ptr) msvcr120._ismbbkana_l
@ cdecl _ismbbkprint(long) msvcr120._ismbbkprint
@ stub _ismbbkprint_l
@ cdecl _ismbbkpunct(long) msvcr120._ismbbkpunct
......
......@@ -633,7 +633,7 @@
@ stub _ismbbkalnum(long)
@ stub _ismbbkalnum_l
@ cdecl _ismbbkana(long)
@ stub _ismbbkana_l
@ cdecl _ismbbkana_l(long ptr)
@ stub _ismbbkprint(long)
@ stub _ismbbkprint_l
@ stub _ismbbkpunct(long)
......
......@@ -611,7 +611,7 @@
@ stub _ismbbkalnum(long)
@ stub _ismbbkalnum_l
@ cdecl _ismbbkana(long)
@ stub _ismbbkana_l
@ cdecl _ismbbkana_l(long ptr)
@ stub _ismbbkprint(long)
@ stub _ismbbkprint_l
@ stub _ismbbkpunct(long)
......
......@@ -1389,17 +1389,31 @@ int CDECL _mbbtype(unsigned char c, int type)
}
/*********************************************************************
* _ismbbkana(MSVCRT.@)
* _ismbbkana_l(MSVCRT.@)
*/
int CDECL _ismbbkana_l(unsigned int c, MSVCRT__locale_t locale)
{
MSVCRT_pthreadmbcinfo mbcinfo;
if(locale)
mbcinfo = locale->mbcinfo;
else
mbcinfo = get_mbcinfo();
if(mbcinfo->mbcodepage == 932)
{
/* Japanese/Katakana, CP 932 */
return (c >= 0xa1 && c <= 0xdf);
}
return 0;
}
/*********************************************************************
* _ismbbkana(MSVCRT.@)
*/
int CDECL _ismbbkana(unsigned int c)
{
/* FIXME: use lc_ctype when supported, not lc_all */
if(get_mbcinfo()->mbcodepage == 932)
{
/* Japanese/Katakana, CP 932 */
return (c >= 0xa1 && c <= 0xdf);
}
return 0;
return _ismbbkana_l( c, NULL );
}
/*********************************************************************
......
......@@ -579,7 +579,7 @@
@ stub _ismbbkalnum(long)
# stub _ismbbkalnum_l(long ptr)
@ cdecl _ismbbkana(long)
# stub _ismbbkana_l(long ptr)
@ cdecl _ismbbkana_l(long ptr)
@ stub _ismbbkprint(long)
# stub _ismbbkprint_l(long ptr)
@ stub _ismbbkpunct(long)
......
......@@ -449,7 +449,7 @@
@ stub _ismbbkalnum(long)
@ stub _ismbbkalnum_l
@ cdecl _ismbbkana(long)
@ stub _ismbbkana_l
@ cdecl _ismbbkana_l(long ptr)
@ stub _ismbbkprint(long)
@ stub _ismbbkprint_l
@ stub _ismbbkpunct(long)
......@@ -1048,7 +1048,7 @@
@ stub _o__ismbbkalnum
@ stub _o__ismbbkalnum_l
@ cdecl _o__ismbbkana(long) _ismbbkana
@ stub _o__ismbbkana_l
@ cdecl _o__ismbbkana_l(long ptr) _ismbbkana_l
@ stub _o__ismbbkprint
@ stub _o__ismbbkprint_l
@ stub _o__ismbbkpunct
......
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