Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
8f3a5198
Commit
8f3a5198
authored
Dec 22, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Dec 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added ctype<wchar_t>::toupper functions implementation.
parent
b4e9bd74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
9 deletions
+22
-9
locale.c
dlls/msvcp90/locale.c
+21
-8
msvcp90.spec
dlls/msvcp90/msvcp90.spec
+1
-1
No files found.
dlls/msvcp90/locale.c
View file @
8f3a5198
...
...
@@ -2207,15 +2207,23 @@ const wchar_t* __thiscall ctype_wchar_tolower(const ctype_wchar *this,
return
call_ctype_wchar_do_tolower
(
this
,
first
,
last
);
}
/* _Towupper */
wchar_t
__cdecl
_Towupper
(
wchar_t
ch
,
const
_Ctypevec
*
ctype
)
{
TRACE
(
"(%d %p)
\n
"
,
ch
,
ctype
);
return
toupperW
(
ch
);
}
/* ?do_toupper@?$ctype@_W@std@@MBE_W_W@Z */
/* ?do_toupper@?$ctype@_W@std@@MEBA_W_W@Z */
/* ?do_toupper@?$ctype@G@std@@MBEGG@Z */
/* ?do_toupper@?$ctype@G@std@@MEBAGG@Z */
DEFINE_THISCALL_WRAPPER
(
ctype_wchar_do_toupper_ch
,
8
)
#define call_ctype_wchar_do_toupper_ch(this, ch) CALL_VTBL_FUNC(this, 32, \
wchar_t, (const ctype_wchar*, wchar_t), (this, ch))
wchar_t
__thiscall
ctype_wchar_do_toupper_ch
(
const
ctype_wchar
*
this
,
wchar_t
ch
)
{
FIXME
(
"(%p %d) stub
\n
"
,
this
,
ch
);
return
0
;
return
_Towupper
(
ch
,
&
this
->
ctype
);
}
/* ?do_toupper@?$ctype@_W@std@@MBEPB_WPA_WPB_W@Z */
...
...
@@ -2223,11 +2231,16 @@ wchar_t __thiscall ctype_wchar_do_toupper_ch(const ctype_wchar *this, wchar_t ch
/* ?do_toupper@?$ctype@G@std@@MBEPBGPAGPBG@Z */
/* ?do_toupper@?$ctype@G@std@@MEBAPEBGPEAGPEBG@Z */
DEFINE_THISCALL_WRAPPER
(
ctype_wchar_do_toupper
,
12
)
#define call_ctype_wchar_do_toupper(this, first, last) CALL_VTBL_FUNC(this, 28, \
const wchar_t*, (const ctype_wchar*, wchar_t*, const wchar_t*), \
(this, first, last))
const
wchar_t
*
__thiscall
ctype_wchar_do_toupper
(
const
ctype_wchar
*
this
,
wchar_t
*
first
,
const
wchar_t
*
last
)
{
FIXME
(
"(%p %p %p) stub
\n
"
,
this
,
first
,
last
);
return
NULL
;
TRACE
(
"(%p %p %p)
\n
"
,
this
,
first
,
last
);
for
(;
first
<
last
;
first
++
)
*
first
=
_Towupper
(
*
first
,
&
this
->
ctype
);
return
last
;
}
/* ?toupper@?$ctype@_W@std@@QBE_W_W@Z */
...
...
@@ -2237,8 +2250,8 @@ const wchar_t* __thiscall ctype_wchar_do_toupper(const ctype_wchar *this,
DEFINE_THISCALL_WRAPPER
(
ctype_wchar_toupper_ch
,
8
)
wchar_t
__thiscall
ctype_wchar_toupper_ch
(
const
ctype_wchar
*
this
,
wchar_t
ch
)
{
FIXME
(
"(%p %d) stub
\n
"
,
this
,
ch
);
return
0
;
TRACE
(
"(%p %d)
\n
"
,
this
,
ch
);
return
call_ctype_wchar_do_toupper_ch
(
this
,
ch
)
;
}
/* ?toupper@?$ctype@_W@std@@QBEPB_WPA_WPB_W@Z */
...
...
@@ -2249,8 +2262,8 @@ DEFINE_THISCALL_WRAPPER(ctype_wchar_toupper, 12)
const
wchar_t
*
__thiscall
ctype_wchar_toupper
(
const
ctype_wchar
*
this
,
wchar_t
*
first
,
const
wchar_t
*
last
)
{
FIXME
(
"(%p %p %p) stub
\n
"
,
this
,
first
,
last
);
return
NULL
;
TRACE
(
"(%p %p %p)
\n
"
,
this
,
first
,
last
);
return
call_ctype_wchar_do_toupper
(
this
,
first
,
last
)
;
}
/* ?do_is@?$ctype@_W@std@@MBE_NF_W@Z */
...
...
dlls/msvcp90/msvcp90.spec
View file @
8f3a5198
...
...
@@ -5801,7 +5801,7 @@
@ cdecl _Tolower(long ptr)
@ cdecl _Toupper(long ptr)
@ cdecl _Towlower(long ptr)
@
stub _Towupper
@
cdecl _Towupper(long ptr)
@ cdecl _Wcrtomb(ptr long ptr ptr)
@ cdecl _Wcscoll(ptr ptr ptr ptr ptr)
@ stub _Wcsxfrm
...
...
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