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