mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 12:21:00 +00:00
msvcrt: Add _ismbckata_l implementation.
This commit is contained in:
parent
2f1e545387
commit
837da12929
|
@ -985,7 +985,7 @@
|
|||
@ cdecl _ismbchira(long)
|
||||
@ cdecl _ismbchira_l(long ptr)
|
||||
@ cdecl _ismbckata(long)
|
||||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbckata_l(long ptr)
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ cdecl _ismbcl1(long)
|
||||
|
|
|
@ -1331,7 +1331,7 @@
|
|||
@ cdecl _ismbchira(long)
|
||||
@ cdecl _ismbchira_l(long ptr)
|
||||
@ cdecl _ismbckata(long)
|
||||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbckata_l(long ptr)
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ cdecl _ismbcl1(long)
|
||||
|
|
|
@ -1337,7 +1337,7 @@
|
|||
@ cdecl _ismbchira(long)
|
||||
@ cdecl _ismbchira_l(long ptr)
|
||||
@ cdecl _ismbckata(long)
|
||||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbckata_l(long ptr)
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ cdecl _ismbcl1(long)
|
||||
|
|
|
@ -657,7 +657,7 @@
|
|||
@ cdecl _ismbchira(long)
|
||||
@ cdecl _ismbchira_l(long ptr)
|
||||
@ cdecl _ismbckata(long)
|
||||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbckata_l(long ptr)
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ cdecl _ismbcl1(long)
|
||||
|
|
|
@ -635,7 +635,7 @@
|
|||
@ cdecl _ismbchira(long)
|
||||
@ cdecl _ismbchira_l(long ptr)
|
||||
@ cdecl _ismbckata(long)
|
||||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbckata_l(long ptr)
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ cdecl _ismbcl1(long)
|
||||
|
|
|
@ -1758,11 +1758,18 @@ int CDECL _ismbchira(unsigned int c)
|
|||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _ismbckata(MSVCRT.@)
|
||||
* _ismbckata_l(MSVCRT.@)
|
||||
*/
|
||||
int CDECL _ismbckata(unsigned int c)
|
||||
int CDECL _ismbckata_l(unsigned int c, _locale_t locale)
|
||||
{
|
||||
if(get_mbcinfo()->mbcodepage == 932)
|
||||
pthreadmbcinfo mbcinfo;
|
||||
|
||||
if(locale)
|
||||
mbcinfo = locale->mbcinfo;
|
||||
else
|
||||
mbcinfo = get_mbcinfo();
|
||||
|
||||
if(mbcinfo->mbcodepage == 932)
|
||||
{
|
||||
/* Japanese/Katakana, CP 932 */
|
||||
return (c >= 0x8340 && c <= 0x8396 && c != 0x837f);
|
||||
|
@ -1770,6 +1777,13 @@ int CDECL _ismbckata(unsigned int c)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _ismbckata(MSVCRT.@)
|
||||
*/
|
||||
int CDECL _ismbckata(unsigned int c)
|
||||
{
|
||||
return _ismbckata_l(c, NULL);
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _ismbblead_l(MSVCRT.@)
|
||||
|
|
|
@ -606,7 +606,7 @@
|
|||
@ cdecl _ismbchira(long)
|
||||
@ cdecl _ismbchira_l(long ptr)
|
||||
@ cdecl _ismbckata(long)
|
||||
# stub _ismbckata_l(long ptr)
|
||||
@ cdecl _ismbckata_l(long ptr)
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ cdecl _ismbcl1(long)
|
||||
|
|
|
@ -477,7 +477,7 @@
|
|||
@ cdecl _ismbchira(long)
|
||||
@ cdecl _ismbchira_l(long ptr)
|
||||
@ cdecl _ismbckata(long)
|
||||
@ stub _ismbckata_l
|
||||
@ cdecl _ismbckata_l(long ptr)
|
||||
@ cdecl _ismbcl0(long)
|
||||
@ cdecl _ismbcl0_l(long ptr)
|
||||
@ cdecl _ismbcl1(long)
|
||||
|
@ -1076,7 +1076,7 @@
|
|||
@ cdecl _o__ismbchira(long) _ismbchira
|
||||
@ cdecl _o__ismbchira_l(long ptr) _ismbchira_l
|
||||
@ cdecl _o__ismbckata(long) _ismbckata
|
||||
@ stub _o__ismbckata_l
|
||||
@ cdecl _o__ismbckata_l(long ptr) _ismbckata_l
|
||||
@ cdecl _o__ismbcl0(long) _ismbcl0
|
||||
@ cdecl _o__ismbcl0_l(long ptr) _ismbcl0_l
|
||||
@ cdecl _o__ismbcl1(long) _ismbcl1
|
||||
|
|
Loading…
Reference in a new issue