Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
dbb01a74
Commit
dbb01a74
authored
Oct 27, 2022
by
Bartosz Kosiorek
Committed by
Alexandre Julliard
Oct 31, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Add _mbctokata_l implementation.
parent
6f9695c4
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
11 deletions
+20
-11
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+1
-1
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+1
-1
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
mbcs.c
dlls/msvcrt/mbcs.c
+12
-3
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
ucrtbase.spec
dlls/ucrtbase/ucrtbase.spec
+2
-2
No files found.
dlls/msvcr100/msvcr100.spec
View file @
dbb01a74
...
@@ -1086,7 +1086,7 @@
...
@@ -1086,7 +1086,7 @@
@ cdecl _mbctohira(long)
@ cdecl _mbctohira(long)
@ cdecl _mbctohira_l(long ptr)
@ cdecl _mbctohira_l(long ptr)
@ cdecl _mbctokata(long)
@ cdecl _mbctokata(long)
@
stub _mbctokata_l
@
cdecl _mbctokata_l(long ptr)
@ cdecl _mbctolower(long)
@ cdecl _mbctolower(long)
@ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctombb(long)
@ cdecl _mbctombb(long)
...
...
dlls/msvcr110/msvcr110.spec
View file @
dbb01a74
...
@@ -1443,7 +1443,7 @@
...
@@ -1443,7 +1443,7 @@
@ cdecl _mbctohira(long)
@ cdecl _mbctohira(long)
@ cdecl _mbctohira_l(long ptr)
@ cdecl _mbctohira_l(long ptr)
@ cdecl _mbctokata(long)
@ cdecl _mbctokata(long)
@
stub _mbctokata_l
@
cdecl _mbctokata_l(long ptr)
@ cdecl _mbctolower(long)
@ cdecl _mbctolower(long)
@ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctombb(long)
@ cdecl _mbctombb(long)
...
...
dlls/msvcr120/msvcr120.spec
View file @
dbb01a74
...
@@ -1454,7 +1454,7 @@
...
@@ -1454,7 +1454,7 @@
@ cdecl _mbctohira(long)
@ cdecl _mbctohira(long)
@ cdecl _mbctohira_l(long ptr)
@ cdecl _mbctohira_l(long ptr)
@ cdecl _mbctokata(long)
@ cdecl _mbctokata(long)
@
stub _mbctokata_l
@
cdecl _mbctokata_l(long ptr)
@ cdecl _mbctolower(long)
@ cdecl _mbctolower(long)
@ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctombb(long)
@ cdecl _mbctombb(long)
...
...
dlls/msvcr80/msvcr80.spec
View file @
dbb01a74
...
@@ -758,7 +758,7 @@
...
@@ -758,7 +758,7 @@
@ cdecl _mbctohira(long)
@ cdecl _mbctohira(long)
@ cdecl _mbctohira_l(long ptr)
@ cdecl _mbctohira_l(long ptr)
@ cdecl _mbctokata(long)
@ cdecl _mbctokata(long)
@
stub _mbctokata_l
@
cdecl _mbctokata_l(long ptr)
@ cdecl _mbctolower(long)
@ cdecl _mbctolower(long)
@ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctombb(long)
@ cdecl _mbctombb(long)
...
...
dlls/msvcr90/msvcr90.spec
View file @
dbb01a74
...
@@ -736,7 +736,7 @@
...
@@ -736,7 +736,7 @@
@ cdecl _mbctohira(long)
@ cdecl _mbctohira(long)
@ cdecl _mbctohira_l(long ptr)
@ cdecl _mbctohira_l(long ptr)
@ cdecl _mbctokata(long)
@ cdecl _mbctokata(long)
@
stub _mbctokata_l
@
cdecl _mbctokata_l(long ptr)
@ cdecl _mbctolower(long)
@ cdecl _mbctolower(long)
@ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctombb(long)
@ cdecl _mbctombb(long)
...
...
dlls/msvcrt/mbcs.c
View file @
dbb01a74
...
@@ -2970,17 +2970,26 @@ unsigned int CDECL _mbctohira(unsigned int c)
...
@@ -2970,17 +2970,26 @@ unsigned int CDECL _mbctohira(unsigned int c)
}
}
/*********************************************************************
/*********************************************************************
* _mbctokata (MSVCRT.@)
* _mbctokata
_l
(MSVCRT.@)
*
*
* Converts a sjis hiragana character to katakana.
* 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
-
0x829f
)
+
0x8340
+
(
c
>=
0x82de
?
1
:
0
);
return
c
;
return
c
;
}
}
/*********************************************************************
* _mbctokata (MSVCRT.@)
*/
unsigned
int
CDECL
_mbctokata
(
unsigned
int
c
)
{
return
_mbctokata_l
(
c
,
NULL
);
}
/*********************************************************************
/*********************************************************************
* _ismbcl0_l (MSVCRT.@)
* _ismbcl0_l (MSVCRT.@)
*/
*/
...
...
dlls/msvcrt/msvcrt.spec
View file @
dbb01a74
...
@@ -703,7 +703,7 @@
...
@@ -703,7 +703,7 @@
@ cdecl _mbctohira(long)
@ cdecl _mbctohira(long)
@ cdecl _mbctohira_l(long ptr)
@ cdecl _mbctohira_l(long ptr)
@ cdecl _mbctokata(long)
@ cdecl _mbctokata(long)
# stub
_mbctokata_l(long ptr)
@ cdecl
_mbctokata_l(long ptr)
@ cdecl _mbctolower(long)
@ cdecl _mbctolower(long)
@ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctombb(long)
@ cdecl _mbctombb(long)
...
...
dlls/ucrtbase/ucrtbase.spec
View file @
dbb01a74
...
@@ -601,7 +601,7 @@
...
@@ -601,7 +601,7 @@
@ cdecl _mbctohira(long)
@ cdecl _mbctohira(long)
@ cdecl _mbctohira_l(long ptr)
@ cdecl _mbctohira_l(long ptr)
@ cdecl _mbctokata(long)
@ cdecl _mbctokata(long)
@
stub _mbctokata_l
@
cdecl _mbctokata_l(long ptr)
@ cdecl _mbctolower(long)
@ cdecl _mbctolower(long)
@ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctombb(long)
@ cdecl _mbctombb(long)
...
@@ -1171,7 +1171,7 @@
...
@@ -1171,7 +1171,7 @@
@ cdecl _o__mbctohira(long) _mbctohira
@ cdecl _o__mbctohira(long) _mbctohira
@ cdecl _o__mbctohira_l(long ptr) _mbctohira_l
@ cdecl _o__mbctohira_l(long ptr) _mbctohira_l
@ cdecl _o__mbctokata(long) _mbctokata
@ 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(long) _mbctolower
@ cdecl _o__mbctolower_l(long ptr) _mbctolower_l
@ cdecl _o__mbctolower_l(long ptr) _mbctolower_l
@ cdecl _o__mbctombb(long) _mbctombb
@ cdecl _o__mbctombb(long) _mbctombb
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment