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
c4b87939
Commit
c4b87939
authored
Dec 29, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Dec 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Fix class functions invocation on 64bit systems.
parent
fdddb60c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
32 deletions
+20
-32
ios.c
dlls/msvcp90/ios.c
+20
-21
locale.c
dlls/msvcp90/locale.c
+0
-0
msvcp90.h
dlls/msvcp90/msvcp90.h
+0
-11
string.c
dlls/msvcp90/string.c
+0
-0
No files found.
dlls/msvcp90/ios.c
View file @
c4b87939
...
...
@@ -1094,40 +1094,40 @@ locale __thiscall basic_streambuf_char_pubimbue(basic_streambuf_char *this, cons
/* ?pubseekoff@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAE?AV?$fpos@H@2@JHH@Z */
/* ?pubseekoff@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAA?AV?$fpos@H@2@_JHH@Z */
DEFINE_THISCALL_WRAPPER_RETPTR
(
basic_streambuf_char_pubseekoff
,
16
)
fpos_int
__thiscall
basic_streambuf_char_pubseekoff
(
basic_streambuf_char
*
this
,
streamoff
off
,
int
way
,
int
mode
)
DEFINE_THISCALL_WRAPPER
(
basic_streambuf_char_pubseekoff
,
20
)
fpos_int
*
__thiscall
basic_streambuf_char_pubseekoff
(
basic_streambuf_char
*
this
,
fpos_int
*
ret
,
streamoff
off
,
int
way
,
int
mode
)
{
fpos_int
ret
=
{
0
};
/* FIXME */
FIXME
(
"(%p %lu %d %d) stub
\n
"
,
this
,
off
,
way
,
mode
);
return
ret
;
}
/* ?pubseekoff@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAE?AV?$fpos@H@2@JII@Z */
/* ?pubseekoff@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAA?AV?$fpos@H@2@_JII@Z */
DEFINE_THISCALL_WRAPPER_RETPTR
(
basic_streambuf_char_pubseekoff_old
,
16
)
fpos_int
__thiscall
basic_streambuf_char_pubseekoff_old
(
basic_streambuf_char
*
this
,
streamoff
off
,
unsigned
int
way
,
unsigned
int
mode
)
DEFINE_THISCALL_WRAPPER
(
basic_streambuf_char_pubseekoff_old
,
20
)
fpos_int
*
__thiscall
basic_streambuf_char_pubseekoff_old
(
basic_streambuf_char
*
this
,
fpos_int
*
ret
,
streamoff
off
,
unsigned
int
way
,
unsigned
int
mode
)
{
fpos_int
ret
=
{
0
};
/* FIXME */
FIXME
(
"(%p %lu %d %d) stub
\n
"
,
this
,
off
,
way
,
mode
);
return
ret
;
}
/* ?pubseekpos@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAE?AV?$fpos@H@2@V32@H@Z */
/* ?pubseekpos@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAA?AV?$fpos@H@2@V32@H@Z */
DEFINE_THISCALL_WRAPPER_RETPTR
(
basic_streambuf_char_pubseekpos
,
32
)
fpos_int
__thiscall
basic_streambuf_char_pubseekpos
(
basic_streambuf_char
*
this
,
fpos_int
pos
,
int
mode
)
DEFINE_THISCALL_WRAPPER
(
basic_streambuf_char_pubseekpos
,
36
)
fpos_int
*
__thiscall
basic_streambuf_char_pubseekpos
(
basic_streambuf_char
*
this
,
fpos_int
*
ret
,
fpos_int
pos
,
int
mode
)
{
fpos_int
ret
=
{
0
};
/* FIXME */
FIXME
(
"(%p %s %d) stub
\n
"
,
this
,
debugstr_fpos_int
(
&
pos
),
mode
);
return
ret
;
}
/* ?pubseekpos@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAE?AV?$fpos@H@2@V32@I@Z */
/* ?pubseekpos@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAA?AV?$fpos@H@2@V32@I@Z */
DEFINE_THISCALL_WRAPPER_RETPTR
(
basic_streambuf_char_pubseekpos_old
,
32
)
fpos_int
__thiscall
basic_streambuf_char_pubseekpos_old
(
basic_streambuf_char
*
this
,
fpos_int
pos
,
unsigned
int
mode
)
DEFINE_THISCALL_WRAPPER
(
basic_streambuf_char_pubseekpos_old
,
36
)
fpos_int
*
__thiscall
basic_streambuf_char_pubseekpos_old
(
basic_streambuf_char
*
this
,
fpos_int
*
ret
,
fpos_int
pos
,
unsigned
int
mode
)
{
fpos_int
ret
=
{
0
};
/* FIXME */
FIXME
(
"(%p %s %d) stub
\n
"
,
this
,
debugstr_fpos_int
(
&
pos
),
mode
);
return
ret
;
}
...
...
@@ -1161,20 +1161,20 @@ int __thiscall basic_streambuf_char_sbumpc(basic_streambuf_char *this)
/* ?seekoff@?$basic_streambuf@DU?$char_traits@D@std@@@std@@MAE?AV?$fpos@H@2@JHH@Z */
/* ?seekoff@?$basic_streambuf@DU?$char_traits@D@std@@@std@@MEAA?AV?$fpos@H@2@_JHH@Z */
DEFINE_THISCALL_WRAPPER_RETPTR
(
basic_streambuf_char_seekoff
,
16
)
fpos_int
__thiscall
basic_streambuf_char_seekoff
(
basic_streambuf_char
*
this
,
streamoff
off
,
int
way
,
int
mode
)
DEFINE_THISCALL_WRAPPER
(
basic_streambuf_char_seekoff
,
20
)
fpos_int
*
__thiscall
basic_streambuf_char_seekoff
(
basic_streambuf_char
*
this
,
fpos_int
*
ret
,
streamoff
off
,
int
way
,
int
mode
)
{
fpos_int
ret
=
{
0
};
/* FIXME */
FIXME
(
"(%p %lu %d %d) stub
\n
"
,
this
,
off
,
way
,
mode
);
return
ret
;
}
/* ?seekpos@?$basic_streambuf@DU?$char_traits@D@std@@@std@@MAE?AV?$fpos@H@2@V32@H@Z */
/* ?seekpos@?$basic_streambuf@DU?$char_traits@D@std@@@std@@MEAA?AV?$fpos@H@2@V32@H@Z */
DEFINE_THISCALL_WRAPPER_RETPTR
(
basic_streambuf_char_seekpos
,
32
)
fpos_int
__thiscall
basic_streambuf_char_seekpos
(
basic_streambuf_char
*
this
,
fpos_int
pos
,
int
mode
)
DEFINE_THISCALL_WRAPPER
(
basic_streambuf_char_seekpos
,
36
)
fpos_int
*
__thiscall
basic_streambuf_char_seekpos
(
basic_streambuf_char
*
this
,
fpos_int
*
ret
,
fpos_int
pos
,
int
mode
)
{
fpos_int
ret
=
{
0
};
/* FIXME */
FIXME
(
"(%p %s %d) stub
\n
"
,
this
,
debugstr_fpos_int
(
&
pos
),
mode
);
return
ret
;
}
...
...
@@ -1574,10 +1574,9 @@ basic_ostream_char* __thiscall basic_ostream_char_seekp_fpos(basic_ostream_char
/* ?tellp@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE?AV?$fpos@H@2@XZ */
/* ?tellp@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAA?AV?$fpos@H@2@XZ */
DEFINE_THISCALL_WRAPPER
_RETPTR
(
basic_ostream_char_tellp
,
4
)
fpos_int
__thiscall
basic_ostream_char_tellp
(
basic_ostream_char
*
this
)
DEFINE_THISCALL_WRAPPER
(
basic_ostream_char_tellp
,
8
)
fpos_int
*
__thiscall
basic_ostream_char_tellp
(
basic_ostream_char
*
this
,
fpos_int
*
ret
)
{
fpos_int
ret
=
{
0
};
/* FIXME */
FIXME
(
"(%p) stub
\n
"
,
this
);
return
ret
;
}
...
...
dlls/msvcp90/locale.c
View file @
c4b87939
This diff is collapsed.
Click to expand it.
dlls/msvcp90/msvcp90.h
View file @
c4b87939
...
...
@@ -44,23 +44,12 @@ extern void* (__cdecl *MSVCRT_set_new_handler)(void*);
"pushl %ecx\n\t" \
"pushl %eax\n\t" \
"jmp " __ASM_NAME(#func) __ASM_STDCALL(args) )
#define DEFINE_THISCALL_WRAPPER_RETPTR(func,args) \
extern void THISCALL(func)(void); \
__ASM_GLOBAL_FUNC(__thiscall_ ## func, \
"popl %eax\n\t" \
"popl %edx\n\t" \
"pushl %ecx\n\t" \
"pushl %edx\n\t" \
"pushl %eax\n\t" \
"jmp " __ASM_NAME(#func) __ASM_STDCALL(args) )
#else
/* __i386__ */
#define THISCALL(func) func
#define THISCALL_NAME(func) __ASM_NAME(#func)
#define __thiscall __cdecl
#define DEFINE_THISCALL_WRAPPER(func,args)
/* nothing */
#define DEFINE_THISCALL_WRAPPER_RETPTR(func,args)
/* nothing */
#endif
/* __i386__ */
...
...
dlls/msvcp90/string.c
View file @
c4b87939
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