Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
8f8f6b3c
Commit
8f8f6b3c
authored
13 years ago
by
Piotr Caban
Committed by
Alexandre Julliard
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
msvcp90: Added ctype<char>::widen functions implementation.
parent
facb3e3f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/msvcp90/locale.c
+22
-12
22 additions, 12 deletions
dlls/msvcp90/locale.c
with
22 additions
and
12 deletions
dlls/msvcp90/locale.c
+
22
−
12
View file @
8f8f6b3c
...
...
@@ -1339,30 +1339,40 @@ const char* __thiscall ctype_char__Narrow_s(const ctype_char *this, const char *
/* ?do_widen@?$ctype@D@std@@MBEDD@Z */
/* ?do_widen@?$ctype@D@std@@MEBADD@Z */
DEFINE_THISCALL_WRAPPER
(
ctype_char_do_widen_ch
,
8
)
#define call_ctype_char_do_widen_ch(this, ch) CALL_VTBL_FUNC(this, 24, \
char, (const ctype_char*, char), (this, ch))
char
__thiscall
ctype_char_do_widen_ch
(
const
ctype_char
*
this
,
char
ch
)
{
FIXM
E
(
"(%p %c)
stub
\n
"
,
this
,
ch
);
return
0
;
TRAC
E
(
"(%p %c)
\n
"
,
this
,
ch
);
return
ch
;
}
/* ?do_widen@?$ctype@D@std@@MBEPBDPBD0PAD@Z */
/* ?do_widen@?$ctype@D@std@@MEBAPEBDPEBD0PEAD@Z */
DEFINE_THISCALL_WRAPPER
(
ctype_char_do_widen
,
16
)
#define call_ctype_char_do_widen(this, first, last, dest) CALL_VTBL_FUNC(this, 20, \
const char*, (const ctype_char*, const char*, const char*, char*), \
(this, first, last, dest))
const
char
*
__thiscall
ctype_char_do_widen
(
const
ctype_char
*
this
,
const
char
*
first
,
const
char
*
last
,
char
*
dest
)
{
FIXME
(
"(%p %p %p %p) stub
\n
"
,
this
,
first
,
last
,
dest
);
return
NULL
;
TRACE
(
"(%p %p %p %p)
\n
"
,
this
,
first
,
last
,
dest
);
memcpy
(
dest
,
first
,
last
-
first
);
return
last
;
}
/* ?_Do_widen_s@?$ctype@D@std@@MBEPBDPBD0PADI@Z */
/* ?_Do_widen_s@?$ctype@D@std@@MEBAPEBDPEBD0PEAD_K@Z */
DEFINE_THISCALL_WRAPPER
(
ctype_char__Do_widen_s
,
20
)
#define call_ctype_char__Do_widen_s(this, first, last, dest, size) CALL_VTBL_FUNC(this, 28, \
const char*, (const ctype_char*, const char*, const char*, char*, MSVCP_size_t), \
(this, first, last, dest, size))
const
char
*
__thiscall
ctype_char__Do_widen_s
(
const
ctype_char
*
this
,
const
char
*
first
,
const
char
*
last
,
char
*
dest
,
MSVCP_size_t
size
)
{
FIXME
(
"(%p %p %p %p %lu) stub
\n
"
,
this
,
first
,
last
,
dest
,
size
);
return
NULL
;
TRACE
(
"(%p %p %p %p %lu)
\n
"
,
this
,
first
,
last
,
dest
,
size
);
memcpy_s
(
dest
,
size
,
first
,
last
-
first
);
return
last
;
}
/* ?widen@?$ctype@D@std@@QBEDD@Z */
...
...
@@ -1370,8 +1380,8 @@ const char* __thiscall ctype_char__Do_widen_s(const ctype_char *this,
DEFINE_THISCALL_WRAPPER
(
ctype_char_widen_ch
,
8
)
char
__thiscall
ctype_char_widen_ch
(
const
ctype_char
*
this
,
char
ch
)
{
FIXM
E
(
"(%p %c)
stub
\n
"
,
this
,
ch
);
return
0
;
TRAC
E
(
"(%p %c)
\n
"
,
this
,
ch
);
return
call_ctype_char_do_widen_ch
(
this
,
ch
)
;
}
/* ?widen@?$ctype@D@std@@QBEPBDPBD0PAD@Z */
...
...
@@ -1380,8 +1390,8 @@ DEFINE_THISCALL_WRAPPER(ctype_char_widen, 16)
const
char
*
__thiscall
ctype_char_widen
(
const
ctype_char
*
this
,
const
char
*
first
,
const
char
*
last
,
char
*
dest
)
{
FIXM
E
(
"(%p %p %p %p)
stub
\n
"
,
this
,
first
,
last
,
dest
);
return
NULL
;
TRAC
E
(
"(%p %p %p %p)
\n
"
,
this
,
first
,
last
,
dest
);
return
call_ctype_char_do_widen
(
this
,
first
,
last
,
dest
)
;
}
/* ?_Widen_s@?$ctype@D@std@@QBEPBDPBD0PADI@Z */
...
...
@@ -1390,8 +1400,8 @@ DEFINE_THISCALL_WRAPPER(ctype_char__Widen_s, 20)
const
char
*
__thiscall
ctype_char__Widen_s
(
const
ctype_char
*
this
,
const
char
*
first
,
const
char
*
last
,
char
*
dest
,
MSVCP_size_t
size
)
{
FIXM
E
(
"(%p %p %p %p %lu)
stub
\n
"
,
this
,
first
,
last
,
dest
,
size
);
return
NULL
;
TRAC
E
(
"(%p %p %p %p %lu)
\n
"
,
this
,
first
,
last
,
dest
,
size
);
return
call_ctype_char__Do_widen_s
(
this
,
first
,
last
,
dest
,
size
)
;
}
/* ?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@PBV42@@Z */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment