Jerome Leclanche : msvcirt: Implement MSVCIRT_operator_sl_callback.
Alexandre Julliard
julliard at winehq.org
Mon Oct 26 10:08:32 CDT 2009
Module: wine
Branch: master
Commit: 370873f97441b604aa450efd9dce511cfb20516f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=370873f97441b604aa450efd9dce511cfb20516f
Author: Jerome Leclanche <adys.wh at gmail.com>
Date: Sun Oct 25 23:15:28 2009 +0200
msvcirt: Implement MSVCIRT_operator_sl_callback.
---
dlls/msvcirt/msvcirt.c | 11 +++++++++++
dlls/msvcirt/msvcirt.spec | 2 +-
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/msvcirt/msvcirt.c b/dlls/msvcirt/msvcirt.c
index 569452c..a498662 100644
--- a/dlls/msvcirt/msvcirt.c
+++ b/dlls/msvcirt/msvcirt.c
@@ -73,6 +73,17 @@ void * __stdcall MSVCIRT_operator_sl_pchar(class_ostream * _this, const char * s
}
/******************************************************************
+ * ??6ostream@@QAEAAV0 at P6AAAV0@AAV0@@Z at Z (MSVCRTI.@)
+ * class ostream & __thiscall ostream::operator<<(class ostream & (__cdecl*)(class ostream &))
+ */
+DEFINE_THISCALL_WRAPPER(MSVCIRT_operator_sl_callback,8)
+void * __stdcall MSVCIRT_operator_sl_callback(class_ostream * _this, class_ostream * (__cdecl*func)(class_ostream*))
+{
+ TRACE("%p, %p\n", _this, func);
+ return func(_this);
+}
+
+/******************************************************************
* ?endl@@YAAAVostream@@AAV1@@Z (MSVCRTI.@)
* class ostream & __cdecl endl(class ostream &)
*/
diff --git a/dlls/msvcirt/msvcirt.spec b/dlls/msvcirt/msvcirt.spec
index a91cec7..0efae20 100644
--- a/dlls/msvcirt/msvcirt.spec
+++ b/dlls/msvcirt/msvcirt.spec
@@ -141,7 +141,7 @@
@ stub ??6ostream@@QAEAAV0 at M@Z # class ostream & __thiscall ostream::operator<<(float)
@ stub ??6ostream@@QAEAAV0 at N@Z # class ostream & __thiscall ostream::operator<<(double)
@ stub ??6ostream@@QAEAAV0 at O@Z # class ostream & __thiscall ostream::operator<<(long double)
-@ stub ??6ostream@@QAEAAV0 at P6AAAV0@AAV0@@Z at Z # class ostream & __thiscall ostream::operator<<(class ostream & (__cdecl*)(class ostream &))
+@ cdecl -i386 -norelay ??6ostream@@QAEAAV0 at P6AAAV0@AAV0@@Z at Z(ptr ptr) __thiscall_MSVCIRT_operator_sl_callback # class ostream & __thiscall ostream::operator<<(class ostream & (__cdecl*)(class ostream &))
@ stub ??6ostream@@QAEAAV0 at P6AAAVios@@AAV1@@Z at Z # class ostream & __thiscall ostream::operator<<(class ios & (__cdecl*)(class ios &))
@ stub ??6ostream@@QAEAAV0 at PAVstreambuf@@@Z # class ostream & __thiscall ostream::operator<<(class streambuf *)
@ stub ??6ostream@@QAEAAV0 at PBC@Z # class ostream & __thiscall ostream::operator<<(signed char const *)
More information about the wine-cvs
mailing list