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
c1ae61b0
Commit
c1ae61b0
authored
Jun 27, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added basic_istream::operator>>(char&) implementation.
parent
7a8f0994
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
4 deletions
+52
-4
ios.c
dlls/msvcp90/ios.c
+48
-0
msvcp90.spec
dlls/msvcp90/msvcp90.spec
+4
-4
No files found.
dlls/msvcp90/ios.c
View file @
c1ae61b0
...
...
@@ -5755,6 +5755,30 @@ basic_istream_char* __cdecl basic_istream_char_get_bstr(
return
istream
;
}
/* ??$?5DU?$char_traits@D@std@@@std@@YAAAV?$basic_istream@DU?$char_traits@D@std@@@0@AAV10@AAD@Z */
/* ??$?5DU?$char_traits@D@std@@@std@@YAAEAV?$basic_istream@DU?$char_traits@D@std@@@0@AEAV10@AEAD@Z */
basic_istream_char
*
__cdecl
basic_istream_char_read_ch
(
basic_istream_char
*
istream
,
char
*
ch
)
{
IOSB_iostate
state
=
IOSTATE_failbit
;
int
c
=
0
;
TRACE
(
"(%p %p)
\n
"
,
istream
,
ch
);
if
(
basic_istream_char_sentry_create
(
istream
,
FALSE
))
{
c
=
basic_streambuf_char_sbumpc
(
basic_ios_char_rdbuf_get
(
basic_istream_char_get_basic_ios
(
istream
)));
if
(
c
!=
EOF
)
{
state
=
IOSTATE_goodbit
;
*
ch
=
c
;
}
}
basic_istream_char_sentry_destroy
(
istream
);
basic_ios_char_setstate
(
basic_istream_char_get_basic_ios
(
istream
),
state
|
(
c
==
EOF
?
IOSTATE_eofbit
:
IOSTATE_goodbit
));
return
istream
;
}
/* Caution: basic_istream uses virtual inheritance. */
static
inline
basic_ios_wchar
*
basic_istream_wchar_get_basic_ios
(
basic_istream_wchar
*
this
)
{
...
...
@@ -6783,6 +6807,30 @@ basic_istream_wchar* __cdecl basic_istream_wchar_get_bstr(
return
istream
;
}
/* ??$?5_WU?$char_traits@_W@std@@@std@@YAAAV?$basic_istream@_WU?$char_traits@_W@std@@@0@AAV10@AA_W@Z */
/* ??$?5_WU?$char_traits@_W@std@@@std@@YAAEAV?$basic_istream@_WU?$char_traits@_W@std@@@0@AEAV10@AEA_W@Z */
basic_istream_wchar
*
__cdecl
basic_istream_wchar_read_ch
(
basic_istream_wchar
*
istream
,
wchar_t
*
ch
)
{
IOSB_iostate
state
=
IOSTATE_failbit
;
unsigned
short
c
=
0
;
TRACE
(
"(%p %p)
\n
"
,
istream
,
ch
);
if
(
basic_istream_wchar_sentry_create
(
istream
,
FALSE
))
{
c
=
basic_streambuf_wchar_sbumpc
(
basic_ios_wchar_rdbuf_get
(
basic_istream_wchar_get_basic_ios
(
istream
)));
if
(
c
!=
WEOF
)
{
state
=
IOSTATE_goodbit
;
*
ch
=
c
;
}
}
basic_istream_wchar_sentry_destroy
(
istream
);
basic_ios_wchar_setstate
(
basic_istream_wchar_get_basic_ios
(
istream
),
state
|
(
c
==
WEOF
?
IOSTATE_eofbit
:
IOSTATE_goodbit
));
return
istream
;
}
/* ??0?$basic_iostream@DU?$char_traits@D@std@@@std@@QAE@PAV?$basic_streambuf@DU?$char_traits@D@std@@@1@@Z */
/* ??0?$basic_iostream@DU?$char_traits@D@std@@@std@@QEAA@PEAV?$basic_streambuf@DU?$char_traits@D@std@@@1@@Z */
DEFINE_THISCALL_WRAPPER
(
basic_iostream_char_ctor
,
12
)
...
...
dlls/msvcp90/msvcp90.spec
View file @
c1ae61b0
@
stub -arch=win32 ??$?5DU?$char_traits@D@std@@@std@@YAAAV?$basic_istream@DU?$char_traits@D@std@@@0@AAV10@AAD@Z
@
stub -arch=win64 ??$?5DU?$char_traits@D@std@@@std@@YAAEAV?$basic_istream@DU?$char_traits@D@std@@@0@AEAV10@AEAD@Z
@
cdecl -arch=win32 ??$?5DU?$char_traits@D@std@@@std@@YAAAV?$basic_istream@DU?$char_traits@D@std@@@0@AAV10@AAD@Z(ptr ptr) basic_istream_char_read_ch
@
cdecl -arch=win64 ??$?5DU?$char_traits@D@std@@@std@@YAAEAV?$basic_istream@DU?$char_traits@D@std@@@0@AEAV10@AEAD@Z(ptr ptr) basic_istream_char_read_ch
@ stub -arch=win32 ??$?5DU?$char_traits@D@std@@@std@@YAAAV?$basic_istream@DU?$char_traits@D@std@@@0@AAV10@PAD@Z
@ stub -arch=win64 ??$?5DU?$char_traits@D@std@@@std@@YAAEAV?$basic_istream@DU?$char_traits@D@std@@@0@AEAV10@PEAD@Z
@ cdecl -arch=win32 ??$?5DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YAAAV?$basic_istream@DU?$char_traits@D@std@@@0@AAV10@AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@@Z(ptr ptr) basic_istream_char_get_bstr
...
...
@@ -36,8 +36,8 @@
@ stub -arch=win64 ??$?5U?$char_traits@D@std@@@std@@YAAEAV?$basic_istream@DU?$char_traits@D@std@@@0@AEAV10@PEAC@Z
@ stub -arch=win32 ??$?5U?$char_traits@D@std@@@std@@YAAAV?$basic_istream@DU?$char_traits@D@std@@@0@AAV10@PAE@Z
@ stub -arch=win64 ??$?5U?$char_traits@D@std@@@std@@YAAEAV?$basic_istream@DU?$char_traits@D@std@@@0@AEAV10@PEAE@Z
@
stub -arch=win32 ??$?5_WU?$char_traits@_W@std@@@std@@YAAAV?$basic_istream@_WU?$char_traits@_W@std@@@0@AAV10@AA_W@Z
@
stub -arch=win64 ??$?5_WU?$char_traits@_W@std@@@std@@YAAEAV?$basic_istream@_WU?$char_traits@_W@std@@@0@AEAV10@AEA_W@Z
@
cdecl -arch=win32 ??$?5_WU?$char_traits@_W@std@@@std@@YAAAV?$basic_istream@_WU?$char_traits@_W@std@@@0@AAV10@AA_W@Z(ptr ptr) basic_istream_wchar_read_ch
@
cdecl -arch=win64 ??$?5_WU?$char_traits@_W@std@@@std@@YAAEAV?$basic_istream@_WU?$char_traits@_W@std@@@0@AEAV10@AEA_W@Z(ptr ptr) basic_istream_wchar_read_ch
@ stub -arch=win32 ??$?5_WU?$char_traits@_W@std@@@std@@YAAAV?$basic_istream@_WU?$char_traits@_W@std@@@0@AAV10@PA_W@Z
@ stub -arch=win64 ??$?5_WU?$char_traits@_W@std@@@std@@YAAEAV?$basic_istream@_WU?$char_traits@_W@std@@@0@AEAV10@PEA_W@Z
@ cdecl -arch=win32 ??$?5_WU?$char_traits@_W@std@@V?$allocator@_W@1@@std@@YAAAV?$basic_istream@_WU?$char_traits@_W@std@@@0@AAV10@AAV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@0@@Z(ptr ptr) basic_istream_wchar_get_bstr
...
...
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