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
6f9695c4
Commit
6f9695c4
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 _mbctohira_l implementation.
parent
5d71a612
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
19 additions
and
11 deletions
+19
-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
+11
-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 @
6f9695c4
...
...
@@ -1084,7 +1084,7 @@
@ cdecl _mbclen(ptr)
@ cdecl _mbclen_l(ptr ptr)
@ cdecl _mbctohira(long)
@
stub _mbctohira_l
@
cdecl _mbctohira_l(long ptr)
@ cdecl _mbctokata(long)
@ stub _mbctokata_l
@ cdecl _mbctolower(long)
...
...
dlls/msvcr110/msvcr110.spec
View file @
6f9695c4
...
...
@@ -1441,7 +1441,7 @@
@ cdecl _mbclen(ptr)
@ cdecl _mbclen_l(ptr ptr)
@ cdecl _mbctohira(long)
@
stub _mbctohira_l
@
cdecl _mbctohira_l(long ptr)
@ cdecl _mbctokata(long)
@ stub _mbctokata_l
@ cdecl _mbctolower(long)
...
...
dlls/msvcr120/msvcr120.spec
View file @
6f9695c4
...
...
@@ -1452,7 +1452,7 @@
@ cdecl _mbclen(ptr)
@ cdecl _mbclen_l(ptr ptr)
@ cdecl _mbctohira(long)
@
stub _mbctohira_l
@
cdecl _mbctohira_l(long ptr)
@ cdecl _mbctokata(long)
@ stub _mbctokata_l
@ cdecl _mbctolower(long)
...
...
dlls/msvcr80/msvcr80.spec
View file @
6f9695c4
...
...
@@ -756,7 +756,7 @@
@ cdecl _mbclen(ptr)
@ cdecl _mbclen_l(ptr ptr)
@ cdecl _mbctohira(long)
@
stub _mbctohira_l
@
cdecl _mbctohira_l(long ptr)
@ cdecl _mbctokata(long)
@ stub _mbctokata_l
@ cdecl _mbctolower(long)
...
...
dlls/msvcr90/msvcr90.spec
View file @
6f9695c4
...
...
@@ -734,7 +734,7 @@
@ cdecl _mbclen(ptr)
@ cdecl _mbclen_l(ptr ptr)
@ cdecl _mbctohira(long)
@
stub _mbctohira_l
@
cdecl _mbctohira_l(long ptr)
@ cdecl _mbctokata(long)
@ stub _mbctokata_l
@ cdecl _mbctolower(long)
...
...
dlls/msvcrt/mbcs.c
View file @
6f9695c4
...
...
@@ -2950,18 +2950,26 @@ int CDECL mbsrtowcs_s(size_t *ret, wchar_t *wcstr, size_t len,
}
/*********************************************************************
* _mbctohira (MSVCRT.@)
* _mbctohira
_l
(MSVCRT.@)
*
* Converts a sjis katakana character to hiragana.
*/
unsigned
int
CDECL
_mbctohira
(
unsigned
int
c
)
unsigned
int
CDECL
_mbctohira
_l
(
unsigned
int
c
,
_locale_t
locale
)
{
if
(
_ismbckata
(
c
)
&&
c
<=
0x8393
)
if
(
_ismbckata
_l
(
c
,
locale
)
&&
c
<=
0x8393
)
return
(
c
-
0x8340
-
(
c
>=
0x837f
?
1
:
0
))
+
0x829f
;
return
c
;
}
/*********************************************************************
* _mbctohira (MSVCRT.@)
*/
unsigned
int
CDECL
_mbctohira
(
unsigned
int
c
)
{
return
_mbctohira_l
(
c
,
NULL
);
}
/*********************************************************************
* _mbctokata (MSVCRT.@)
*
* Converts a sjis hiragana character to katakana.
...
...
dlls/msvcrt/msvcrt.spec
View file @
6f9695c4
...
...
@@ -701,7 +701,7 @@
@ cdecl _mbclen(ptr)
@ cdecl _mbclen_l(ptr ptr)
@ cdecl _mbctohira(long)
# stub
_mbctohira_l(long ptr)
@ cdecl
_mbctohira_l(long ptr)
@ cdecl _mbctokata(long)
# stub _mbctokata_l(long ptr)
@ cdecl _mbctolower(long)
...
...
dlls/ucrtbase/ucrtbase.spec
View file @
6f9695c4
...
...
@@ -599,7 +599,7 @@
@ cdecl _mbclen(ptr)
@ cdecl _mbclen_l(ptr ptr)
@ cdecl _mbctohira(long)
@
stub _mbctohira_l
@
cdecl _mbctohira_l(long ptr)
@ cdecl _mbctokata(long)
@ stub _mbctokata_l
@ cdecl _mbctolower(long)
...
...
@@ -1169,7 +1169,7 @@
@ cdecl _o__mbclen(ptr) _mbclen
@ cdecl _o__mbclen_l(ptr ptr) _mbclen_l
@ cdecl _o__mbctohira(long) _mbctohira
@
stub _o_
_mbctohira_l
@
cdecl _o__mbctohira_l(long ptr)
_mbctohira_l
@ cdecl _o__mbctokata(long) _mbctokata
@ stub _o__mbctokata_l
@ cdecl _o__mbctolower(long) _mbctolower
...
...
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