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
1de0fe3a
Commit
1de0fe3a
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>::is functions implementation.
parent
8f3a5198
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
10 deletions
+32
-10
locale.c
dlls/msvcp90/locale.c
+30
-8
msvcp90.spec
dlls/msvcp90/msvcp90.spec
+2
-2
No files found.
dlls/msvcp90/locale.c
View file @
1de0fe3a
...
@@ -2266,15 +2266,34 @@ const wchar_t* __thiscall ctype_wchar_toupper(const ctype_wchar *this,
...
@@ -2266,15 +2266,34 @@ const wchar_t* __thiscall ctype_wchar_toupper(const ctype_wchar *this,
return
call_ctype_wchar_do_toupper
(
this
,
first
,
last
);
return
call_ctype_wchar_do_toupper
(
this
,
first
,
last
);
}
}
/* _Getwctypes */
const
wchar_t
*
__cdecl
_Getwctypes
(
const
wchar_t
*
first
,
const
wchar_t
*
last
,
short
*
mask
,
const
_Ctypevec
*
ctype
)
{
TRACE
(
"(%p %p %p %p)
\n
"
,
first
,
last
,
mask
,
ctype
);
GetStringTypeW
(
CT_CTYPE1
,
first
,
last
-
first
,
(
WORD
*
)
mask
);
return
last
;
}
/* _Getwctype */
short
__cdecl
_Getwctype
(
wchar_t
ch
,
const
_Ctypevec
*
ctype
)
{
short
mask
=
0
;
_Getwctypes
(
&
ch
,
&
ch
+
1
,
&
mask
,
ctype
);
return
mask
;
}
/* ?do_is@?$ctype@_W@std@@MBE_NF_W@Z */
/* ?do_is@?$ctype@_W@std@@MBE_NF_W@Z */
/* ?do_is@?$ctype@_W@std@@MEBA_NF_W@Z */
/* ?do_is@?$ctype@_W@std@@MEBA_NF_W@Z */
/* ?do_is@?$ctype@G@std@@MBE_NFG@Z */
/* ?do_is@?$ctype@G@std@@MBE_NFG@Z */
/* ?do_is@?$ctype@G@std@@MEBA_NFG@Z */
/* ?do_is@?$ctype@G@std@@MEBA_NFG@Z */
DEFINE_THISCALL_WRAPPER
(
ctype_wchar_do_is_ch
,
12
)
DEFINE_THISCALL_WRAPPER
(
ctype_wchar_do_is_ch
,
12
)
#define call_ctype_wchar_do_is_ch(this, mask, ch) CALL_VTBL_FUNC(this, 8, \
MSVCP_bool, (const ctype_wchar*, short, wchar_t), (this, mask, ch))
MSVCP_bool
__thiscall
ctype_wchar_do_is_ch
(
const
ctype_wchar
*
this
,
short
mask
,
wchar_t
ch
)
MSVCP_bool
__thiscall
ctype_wchar_do_is_ch
(
const
ctype_wchar
*
this
,
short
mask
,
wchar_t
ch
)
{
{
FIXME
(
"(%p %x %d) stub
\n
"
,
this
,
mask
,
ch
);
TRACE
(
"(%p %x %d)
\n
"
,
this
,
mask
,
ch
);
return
0
;
return
!
(
_Getwctype
(
ch
,
&
this
->
ctype
)
&
mask
)
;
}
}
/* ?do_is@?$ctype@_W@std@@MBEPB_WPB_W0PAF@Z */
/* ?do_is@?$ctype@_W@std@@MBEPB_WPB_W0PAF@Z */
...
@@ -2282,11 +2301,14 @@ MSVCP_bool __thiscall ctype_wchar_do_is_ch(const ctype_wchar *this, short mask,
...
@@ -2282,11 +2301,14 @@ MSVCP_bool __thiscall ctype_wchar_do_is_ch(const ctype_wchar *this, short mask,
/* ?do_is@?$ctype@G@std@@MBEPBGPBG0PAF@Z */
/* ?do_is@?$ctype@G@std@@MBEPBGPBG0PAF@Z */
/* ?do_is@?$ctype@G@std@@MEBAPEBGPEBG0PEAF@Z */
/* ?do_is@?$ctype@G@std@@MEBAPEBGPEBG0PEAF@Z */
DEFINE_THISCALL_WRAPPER
(
ctype_wchar_do_is
,
16
)
DEFINE_THISCALL_WRAPPER
(
ctype_wchar_do_is
,
16
)
#define call_ctype_wchar_do_is(this, first, last, dest) CALL_VTBL_FUNC(this, 4, \
const wchar_t*, (const ctype_wchar*, const wchar_t*, const wchar_t*, short*), \
(this, first, last, dest))
const
wchar_t
*
__thiscall
ctype_wchar_do_is
(
const
ctype_wchar
*
this
,
const
wchar_t
*
__thiscall
ctype_wchar_do_is
(
const
ctype_wchar
*
this
,
const
wchar_t
*
first
,
const
wchar_t
*
last
,
short
*
dest
)
const
wchar_t
*
first
,
const
wchar_t
*
last
,
short
*
dest
)
{
{
FIXME
(
"(%p %p %p %p) stub
\n
"
,
this
,
first
,
last
,
dest
);
TRACE
(
"(%p %p %p %p)
\n
"
,
this
,
first
,
last
,
dest
);
return
NULL
;
return
_Getwctypes
(
first
,
last
,
dest
,
&
this
->
ctype
)
;
}
}
/* ?is@?$ctype@_W@std@@QBE_NF_W@Z */
/* ?is@?$ctype@_W@std@@QBE_NF_W@Z */
...
@@ -2296,8 +2318,8 @@ const wchar_t* __thiscall ctype_wchar_do_is(const ctype_wchar *this,
...
@@ -2296,8 +2318,8 @@ const wchar_t* __thiscall ctype_wchar_do_is(const ctype_wchar *this,
DEFINE_THISCALL_WRAPPER
(
ctype_wchar_is_ch
,
12
)
DEFINE_THISCALL_WRAPPER
(
ctype_wchar_is_ch
,
12
)
MSVCP_bool
__thiscall
ctype_wchar_is_ch
(
const
ctype_wchar
*
this
,
short
mask
,
wchar_t
ch
)
MSVCP_bool
__thiscall
ctype_wchar_is_ch
(
const
ctype_wchar
*
this
,
short
mask
,
wchar_t
ch
)
{
{
FIXME
(
"(%p %x %d) stub
\n
"
,
this
,
mask
,
ch
);
TRACE
(
"(%p %x %d)
\n
"
,
this
,
mask
,
ch
);
return
0
;
return
call_ctype_wchar_do_is_ch
(
this
,
mask
,
ch
)
;
}
}
/* ?is@?$ctype@_W@std@@QBEPB_WPB_W0PAF@Z */
/* ?is@?$ctype@_W@std@@QBEPB_WPB_W0PAF@Z */
...
@@ -2308,8 +2330,8 @@ DEFINE_THISCALL_WRAPPER(ctype_wchar_is, 16)
...
@@ -2308,8 +2330,8 @@ DEFINE_THISCALL_WRAPPER(ctype_wchar_is, 16)
const
wchar_t
*
__thiscall
ctype_wchar_is
(
const
ctype_wchar
*
this
,
const
wchar_t
*
__thiscall
ctype_wchar_is
(
const
ctype_wchar
*
this
,
const
wchar_t
*
first
,
const
wchar_t
*
last
,
short
*
dest
)
const
wchar_t
*
first
,
const
wchar_t
*
last
,
short
*
dest
)
{
{
FIXME
(
"(%p %p %p %p) stub
\n
"
,
this
,
first
,
last
,
dest
);
TRACE
(
"(%p %p %p %p)
\n
"
,
this
,
first
,
last
,
dest
);
return
NULL
;
return
call_ctype_wchar_do_is
(
this
,
first
,
last
,
dest
)
;
}
}
/* ?do_scan_is@?$ctype@_W@std@@MBEPB_WFPB_W0@Z */
/* ?do_scan_is@?$ctype@_W@std@@MBEPB_WFPB_W0@Z */
...
...
dlls/msvcp90/msvcp90.spec
View file @
1de0fe3a
...
@@ -5754,8 +5754,8 @@
...
@@ -5754,8 +5754,8 @@
@ cdecl _Getctype()
@ cdecl _Getctype()
@ cdecl _Getcvt()
@ cdecl _Getcvt()
@ stub _Getdateorder
@ stub _Getdateorder
@
stub _Getwctype
@
cdecl _Getwctype(long ptr)
@
stub _Getwctypes
@
cdecl _Getwctypes(ptr ptr ptr ptr)
@ extern _Hugeval
@ extern _Hugeval
@ extern _Inf
@ extern _Inf
@ stub _LCosh
@ stub _LCosh
...
...
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