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
4e7b3bad
Commit
4e7b3bad
authored
Jan 05, 2012
by
Daniel Lehman
Committed by
Alexandre Julliard
Jan 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Add basic_ios<wchar_t> stubs.
parent
091f3174
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
190 additions
and
0 deletions
+190
-0
ios.c
dlls/msvcp90/ios.c
+190
-0
msvcp90.spec
dlls/msvcp90/msvcp90.spec
+0
-0
No files found.
dlls/msvcp90/ios.c
View file @
4e7b3bad
...
...
@@ -138,6 +138,13 @@ typedef struct {
}
basic_ios_char
;
typedef
struct
{
ios_base
child
;
/*basic_streambuf_wchar*/
void
*
strbuf
;
/*basic_ostream_wchar*/
void
*
stream
;
char
fillch
;
}
basic_ios_wchar
;
typedef
struct
{
const
vtable_ptr
*
vtable
;
basic_ios_char
child
;
}
basic_ostream_char
;
...
...
@@ -148,6 +155,9 @@ extern const vtable_ptr MSVCP_ios_base_vtable;
/* ??_7?$basic_ios@DU?$char_traits@D@std@@@std@@6B@ */
extern
const
vtable_ptr
MSVCP_basic_ios_char_vtable
;
/* ??_7?$basic_ios@_WU?$char_traits@_W@std@@@std@@6B@ */
extern
const
vtable_ptr
MSVCP_basic_ios_wchar_vtable
;
/* ??_7?$basic_streambuf@DU?$char_traits@D@std@@@std@@6B@ */
extern
const
vtable_ptr
MSVCP_basic_streambuf_char_vtable
;
...
...
@@ -170,6 +180,8 @@ static const rtti_base_descriptor iosb_rtti_base_descriptor = {
DEFINE_RTTI_DATA
(
ios_base
,
0
,
1
,
&
iosb_rtti_base_descriptor
,
NULL
,
NULL
,
".?AV?$_Iosb@H@std@@"
);
DEFINE_RTTI_DATA
(
basic_ios_char
,
0
,
2
,
&
ios_base_rtti_base_descriptor
,
&
iosb_rtti_base_descriptor
,
NULL
,
".?AV?$basic_ios@DU?$char_traits@D@std@@@std@@"
);
DEFINE_RTTI_DATA
(
basic_ios_wchar
,
0
,
2
,
&
ios_base_rtti_base_descriptor
,
&
iosb_rtti_base_descriptor
,
NULL
,
".?AV?$basic_ios@_WU?$char_traits@_W@std@@@std@@"
);
DEFINE_RTTI_DATA
(
basic_streambuf_char
,
0
,
0
,
NULL
,
NULL
,
NULL
,
".?AV?$basic_streambuf@DU?$char_traits@D@std@@@std@@"
);
DEFINE_RTTI_DATA
(
basic_ostream_char
,
4
,
3
,
&
basic_ios_char_rtti_base_descriptor
,
&
ios_base_rtti_base_descriptor
,
...
...
@@ -180,6 +192,7 @@ void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE
(
ios_base
,
""
);
__ASM_VTABLE
(
basic_ios_char
,
""
);
__ASM_VTABLE
(
basic_ios_wchar
,
""
);
__ASM_VTABLE
(
basic_streambuf_char
,
VTABLE_ADD_FUNC
(
basic_streambuf_char_overflow
)
VTABLE_ADD_FUNC
(
basic_streambuf_char_pbackfail
)
...
...
@@ -779,6 +792,183 @@ char __thiscall basic_ios_char_widen(basic_ios_char *this, char ch)
return
0
;
}
/* ??0?$basic_ios@_WU?$char_traits@_W@std@@@std@@IAE@XZ */
/* ??0?$basic_ios@_WU?$char_traits@_W@std@@@std@@IEAA@XZ */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_ctor
,
4
)
basic_ios_wchar
*
__thiscall
basic_ios_wchar_ctor
(
basic_ios_wchar
*
this
)
{
FIXME
(
"(%p) stub
\n
"
,
this
);
return
NULL
;
}
/* ??0?$basic_ios@_WU?$char_traits@_W@std@@@std@@QAE@PAV?$basic_streambuf@_WU?$char_traits@_W@std@@@1@@Z */
/* ??0?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEAA@PEAV?$basic_streambuf@_WU?$char_traits@_W@std@@@1@@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_copy_ctor
,
8
)
basic_ios_wchar
*
__thiscall
basic_ios_wchar_copy_ctor
(
basic_ios_wchar
*
this
,
const
basic_ios_wchar
*
copy
)
{
FIXME
(
"(%p %p) stub
\n
"
,
this
,
copy
);
return
NULL
;
}
/* ??1?$basic_ios@_WU?$char_traits@_W@std@@@std@@UAE@XZ */
/* ??1?$basic_ios@_WU?$char_traits@_W@std@@@std@@UEAA@XZ */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_dtor
,
4
)
void
__thiscall
basic_ios_wchar_dtor
(
basic_ios_wchar
*
this
)
{
FIXME
(
"(%p) stub
\n
"
,
this
);
}
DEFINE_THISCALL_WRAPPER
(
MSVCP_basic_ios_wchar_vector_dtor
,
8
)
basic_ios_wchar
*
__thiscall
MSVCP_basic_ios_wchar_vector_dtor
(
basic_ios_wchar
*
this
,
unsigned
int
flags
)
{
TRACE
(
"(%p %x) stub
\n
"
,
this
,
flags
);
if
(
flags
&
2
)
{
/* we have an array, with the number of elements stored before the first object */
int
i
,
*
ptr
=
(
int
*
)
this
-
1
;
for
(
i
=*
ptr
-
1
;
i
>=
0
;
i
--
)
basic_ios_wchar_dtor
(
this
+
i
);
MSVCRT_operator_delete
(
ptr
);
}
else
{
basic_ios_wchar_dtor
(
this
);
if
(
flags
&
1
)
MSVCRT_operator_delete
(
this
);
}
return
this
;
}
/* ?clear@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QAEXH_N@Z */
/* ?clear@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEAAXH_N@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_clear_reraise
,
12
)
void
__thiscall
basic_ios_wchar_clear_reraise
(
basic_ios_wchar
*
this
,
IOSB_iostate
state
,
MSVCP_bool
reraise
)
{
FIXME
(
"(%p %x %x) stub
\n
"
,
this
,
state
,
reraise
);
}
/* ?clear@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QAEXI@Z */
/* ?clear@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEAAXI@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_clear
,
8
)
void
__thiscall
basic_ios_wchar_clear
(
basic_ios_wchar
*
this
,
unsigned
int
state
)
{
basic_ios_wchar_clear_reraise
(
this
,
(
IOSB_iostate
)
state
,
FALSE
);
}
/* ?copyfmt@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QAEAAV12@ABV12@@Z */
/* ?copyfmt@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEAAAEAV12@AEBV12@@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_copyfmt
,
8
)
basic_ios_wchar
*
__thiscall
basic_ios_wchar_copyfmt
(
basic_ios_wchar
*
this
,
basic_ios_wchar
*
copy
)
{
FIXME
(
"(%p %p) stub
\n
"
,
this
,
copy
);
return
NULL
;
}
/* ?fill@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QAE_W_W@Z */
/* ?fill@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEAA_W_W@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_fill_set
,
8
)
wchar_t
__thiscall
basic_ios_wchar_fill_set
(
basic_ios_wchar
*
this
,
wchar_t
fill
)
{
FIXME
(
"(%p %c) stub
\n
"
,
this
,
fill
);
return
0
;
}
/* ?fill@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QBE_WXZ */
/* ?fill@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEBA_WXZ */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_fill_get
,
4
)
wchar_t
__thiscall
basic_ios_wchar_fill_get
(
basic_ios_wchar
*
this
)
{
FIXME
(
"(%p) stub
\n
"
,
this
);
return
0
;
}
/* ?imbue@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QAE?AVlocale@2@ABV32@@Z */
/* ?imbue@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEAA?AVlocale@2@AEBV32@@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_imbue
,
12
)
locale
*
__thiscall
basic_ios_wchar_imbue
(
basic_ios_wchar
*
this
,
locale
*
ret
,
const
locale
*
loc
)
{
FIXME
(
"(%p %p %p) stub
\n
"
,
this
,
ret
,
loc
);
return
ret
;
}
/* ?init@?$basic_ios@_WU?$char_traits@_W@std@@@std@@IAEXPAV?$basic_streambuf@_WU?$char_traits@_W@std@@@2@_N@Z */
/* ?init@?$basic_ios@_WU?$char_traits@_W@std@@@std@@IEAAXPEAV?$basic_streambuf@_WU?$char_traits@_W@std@@@2@_N@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_init
,
12
)
void
__thiscall
basic_ios_wchar_init
(
basic_ios_wchar
*
this
,
/*basic_streambuf_wchar*/
void
*
streambuf
,
MSVCP_bool
isstd
)
{
FIXME
(
"(%p %p %x) stub
\n
"
,
this
,
streambuf
,
isstd
);
}
/* ?narrow@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QBED_WD@Z */
/* ?narrow@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEBAD_WD@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_narrow
,
12
)
char
__thiscall
basic_ios_wchar_narrow
(
basic_ios_wchar
*
this
,
wchar_t
ch
,
char
def
)
{
FIXME
(
"(%p %c %c) stub
\n
"
,
this
,
ch
,
def
);
return
def
;
}
/* ?rdbuf@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QAEPAV?$basic_streambuf@_WU?$char_traits@_W@std@@@2@PAV32@@Z */
/* ?rdbuf@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEAAPEAV?$basic_streambuf@_WU?$char_traits@_W@std@@@2@PEAV32@@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_rdbuf_set
,
8
)
/*basic_streambuf_wchar*/
void
*
__thiscall
basic_ios_wchar_rdbuf_set
(
basic_ios_wchar
*
this
,
/*basic_streambuf_wchar*/
void
*
streambuf
)
{
FIXME
(
"(%p %p) stub
\n
"
,
this
,
streambuf
);
return
NULL
;
}
/* ?rdbuf@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QBEPAV?$basic_streambuf@_WU?$char_traits@_W@std@@@2@XZ */
/* ?rdbuf@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEBAPEAV?$basic_streambuf@_WU?$char_traits@_W@std@@@2@XZ */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_rdbuf_get
,
4
)
/*basic_streambuf_wchar*/
void
*
__thiscall
basic_ios_wchar_rdbuf_get
(
const
basic_ios_wchar
*
this
)
{
FIXME
(
"(%p) stub
\n
"
,
this
);
return
NULL
;
}
/* ?setstate@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QAEXH_N@Z */
/* ?setstate@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEAAXH_N@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_setstate_reraise
,
12
)
void
__thiscall
basic_ios_wchar_setstate_reraise
(
basic_ios_wchar
*
this
,
IOSB_iostate
state
,
MSVCP_bool
reraise
)
{
FIXME
(
"(%p %x %x) stub
\n
"
,
this
,
state
,
reraise
);
}
/* ?setstate@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QAEXI@Z */
/* ?setstate@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEAAXI@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_setstate
,
8
)
void
__thiscall
basic_ios_wchar_setstate
(
basic_ios_wchar
*
this
,
IOSB_iostate
state
)
{
basic_ios_wchar_setstate_reraise
(
this
,
state
,
FALSE
);
}
/* ?tie@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QAEPAV?$basic_ostream@_WU?$char_traits@_W@std@@@2@PAV32@@Z */
/* ?tie@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEAAPEAV?$basic_ostream@_WU?$char_traits@_W@std@@@2@PEAV32@@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_tie_set
,
8
)
/*basic_ostream_wchar*/
void
*
__thiscall
basic_ios_wchar_tie_set
(
basic_ios_wchar
*
this
,
/*basic_ostream_wchar*/
void
*
ostream
)
{
FIXME
(
"(%p %p) stub
\n
"
,
this
,
ostream
);
return
NULL
;
}
/* ?tie@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QBEPAV?$basic_ostream@_WU?$char_traits@_W@std@@@2@XZ */
/* ?tie@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEBAPEAV?$basic_ostream@_WU?$char_traits@_W@std@@@2@XZ */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_tie_get
,
4
)
/*basic_ostream_wchar*/
void
*
__thiscall
basic_ios_wchar_tie_get
(
const
basic_ios_wchar
*
this
)
{
FIXME
(
"(%p)
\n
"
,
this
);
return
NULL
;
}
/* ?widen@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QBE_WD@Z */
/* ?widen@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QEBA_WD@Z */
DEFINE_THISCALL_WRAPPER
(
basic_ios_wchar_widen
,
8
)
wchar_t
__thiscall
basic_ios_wchar_widen
(
basic_ios_wchar
*
this
,
char
ch
)
{
FIXME
(
"(%p %c)
\n
"
,
this
,
ch
);
return
0
;
}
/* ??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@W4_Uninitialized@1@@Z */
/* ??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAA@W4_Uninitialized@1@@Z */
DEFINE_THISCALL_WRAPPER
(
basic_streambuf_char_ctor_uninitialized
,
8
)
...
...
dlls/msvcp90/msvcp90.spec
View file @
4e7b3bad
This diff is collapsed.
Click to expand it.
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