mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:39:34 +00:00
msvcrt: Add _mbctokata_l implementation.
This commit is contained in:
parent
6f9695c459
commit
dbb01a74e0
|
@ -1086,7 +1086,7 @@
|
|||
@ cdecl _mbctohira(long)
|
||||
@ cdecl _mbctohira_l(long ptr)
|
||||
@ cdecl _mbctokata(long)
|
||||
@ stub _mbctokata_l
|
||||
@ cdecl _mbctokata_l(long ptr)
|
||||
@ cdecl _mbctolower(long)
|
||||
@ cdecl _mbctolower_l(long ptr)
|
||||
@ cdecl _mbctombb(long)
|
||||
|
|
|
@ -1443,7 +1443,7 @@
|
|||
@ cdecl _mbctohira(long)
|
||||
@ cdecl _mbctohira_l(long ptr)
|
||||
@ cdecl _mbctokata(long)
|
||||
@ stub _mbctokata_l
|
||||
@ cdecl _mbctokata_l(long ptr)
|
||||
@ cdecl _mbctolower(long)
|
||||
@ cdecl _mbctolower_l(long ptr)
|
||||
@ cdecl _mbctombb(long)
|
||||
|
|
|
@ -1454,7 +1454,7 @@
|
|||
@ cdecl _mbctohira(long)
|
||||
@ cdecl _mbctohira_l(long ptr)
|
||||
@ cdecl _mbctokata(long)
|
||||
@ stub _mbctokata_l
|
||||
@ cdecl _mbctokata_l(long ptr)
|
||||
@ cdecl _mbctolower(long)
|
||||
@ cdecl _mbctolower_l(long ptr)
|
||||
@ cdecl _mbctombb(long)
|
||||
|
|
|
@ -758,7 +758,7 @@
|
|||
@ cdecl _mbctohira(long)
|
||||
@ cdecl _mbctohira_l(long ptr)
|
||||
@ cdecl _mbctokata(long)
|
||||
@ stub _mbctokata_l
|
||||
@ cdecl _mbctokata_l(long ptr)
|
||||
@ cdecl _mbctolower(long)
|
||||
@ cdecl _mbctolower_l(long ptr)
|
||||
@ cdecl _mbctombb(long)
|
||||
|
|
|
@ -736,7 +736,7 @@
|
|||
@ cdecl _mbctohira(long)
|
||||
@ cdecl _mbctohira_l(long ptr)
|
||||
@ cdecl _mbctokata(long)
|
||||
@ stub _mbctokata_l
|
||||
@ cdecl _mbctokata_l(long ptr)
|
||||
@ cdecl _mbctolower(long)
|
||||
@ cdecl _mbctolower_l(long ptr)
|
||||
@ cdecl _mbctombb(long)
|
||||
|
|
|
@ -2970,17 +2970,26 @@ unsigned int CDECL _mbctohira(unsigned int c)
|
|||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _mbctokata (MSVCRT.@)
|
||||
* _mbctokata_l (MSVCRT.@)
|
||||
*
|
||||
* Converts a sjis hiragana character to katakana.
|
||||
*/
|
||||
unsigned int CDECL _mbctokata(unsigned int c)
|
||||
unsigned int CDECL _mbctokata_l(unsigned int c, _locale_t locale)
|
||||
{
|
||||
if(_ismbchira(c))
|
||||
if(_ismbchira_l(c, locale))
|
||||
return (c - 0x829f) + 0x8340 + (c >= 0x82de ? 1 : 0);
|
||||
return c;
|
||||
}
|
||||
|
||||
|
||||
/*********************************************************************
|
||||
* _mbctokata (MSVCRT.@)
|
||||
*/
|
||||
unsigned int CDECL _mbctokata(unsigned int c)
|
||||
{
|
||||
return _mbctokata_l(c, NULL);
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _ismbcl0_l (MSVCRT.@)
|
||||
*/
|
||||
|
|
|
@ -703,7 +703,7 @@
|
|||
@ cdecl _mbctohira(long)
|
||||
@ cdecl _mbctohira_l(long ptr)
|
||||
@ cdecl _mbctokata(long)
|
||||
# stub _mbctokata_l(long ptr)
|
||||
@ cdecl _mbctokata_l(long ptr)
|
||||
@ cdecl _mbctolower(long)
|
||||
@ cdecl _mbctolower_l(long ptr)
|
||||
@ cdecl _mbctombb(long)
|
||||
|
|
|
@ -601,7 +601,7 @@
|
|||
@ cdecl _mbctohira(long)
|
||||
@ cdecl _mbctohira_l(long ptr)
|
||||
@ cdecl _mbctokata(long)
|
||||
@ stub _mbctokata_l
|
||||
@ cdecl _mbctokata_l(long ptr)
|
||||
@ cdecl _mbctolower(long)
|
||||
@ cdecl _mbctolower_l(long ptr)
|
||||
@ cdecl _mbctombb(long)
|
||||
|
@ -1171,7 +1171,7 @@
|
|||
@ cdecl _o__mbctohira(long) _mbctohira
|
||||
@ cdecl _o__mbctohira_l(long ptr) _mbctohira_l
|
||||
@ cdecl _o__mbctokata(long) _mbctokata
|
||||
@ stub _o__mbctokata_l
|
||||
@ cdecl _o__mbctokata_l(long ptr) _mbctokata_l
|
||||
@ cdecl _o__mbctolower(long) _mbctolower
|
||||
@ cdecl _o__mbctolower_l(long ptr) _mbctolower_l
|
||||
@ cdecl _o__mbctombb(long) _mbctombb
|
||||
|
|
Loading…
Reference in a new issue