Piotr Caban : msvcirt: Fix ostrstream::ostrstream() constructor stub.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 29 08:12:10 CDT 2015


Module: wine
Branch: master
Commit: 9249f393c25cb4dc18869483472e9d135dba351f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9249f393c25cb4dc18869483472e9d135dba351f

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Mon Jun 29 10:22:07 2015 +0200

msvcirt: Fix ostrstream::ostrstream() constructor stub.

---

 dlls/msvcirt/msvcirt.c      | 18 +++++++++++++-----
 dlls/msvcirt/msvcirt.spec   |  8 ++++----
 dlls/msvcrt20/msvcrt20.spec |  4 ++--
 dlls/msvcrt40/msvcrt40.spec |  4 ++--
 4 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/dlls/msvcirt/msvcirt.c b/dlls/msvcirt/msvcirt.c
index 0979673..960cd90 100644
--- a/dlls/msvcirt/msvcirt.c
+++ b/dlls/msvcirt/msvcirt.c
@@ -696,13 +696,21 @@ void * __thiscall MSVCIRT_ios_sl_void(class_ios * _this)
 
 /******************************************************************
  *		 ??0ostrstream@@QAE at XZ (MSVCRTI.@)
- *        class ostream & __thiscall ostrstream::ostrstream<<(void)
  */
-DEFINE_THISCALL_WRAPPER(MSVCIRT_ostrstream_sl_void,4)
-void * __thiscall MSVCIRT_ostrstream_sl_void(class_ostream * _this)
+DEFINE_THISCALL_WRAPPER(MSVCIRT_ostrstream_ctor,8)
+void * __thiscall MSVCIRT_ostrstream_ctor(class_ostream *this, BOOL virt_init)
 {
-   FIXME("(%p) stub\n", _this);
-   return _this;
+   FIXME("(%p %x) stub\n", this, virt_init);
+   return this;
+}
+
+/******************************************************************
+ *		 ??1ostrstream@@UAE at XZ (MSVCRTI.@)
+ */
+DEFINE_THISCALL_WRAPPER(MSVCIRT_ostrstream_dtor,4)
+void __thiscall MSVCIRT_ostrstream_dtor(class_ios *base)
+{
+    FIXME("(%p) stub\n", base);
 }
 
 /******************************************************************
diff --git a/dlls/msvcirt/msvcirt.spec b/dlls/msvcirt/msvcirt.spec
index 0c9e520..36d42ee 100644
--- a/dlls/msvcirt/msvcirt.spec
+++ b/dlls/msvcirt/msvcirt.spec
@@ -96,8 +96,8 @@
 @ stub -arch=win64 ??0ostrstream@@QEAA at AEBV0@@Z
 @ stub -arch=win32 ??0ostrstream@@QAE at PADHH@Z  # __thiscall ostrstream::ostrstream(char *,int,int)
 @ stub -arch=win64 ??0ostrstream@@QEAA at PEADHH@Z
-@ thiscall -arch=win32 ??0ostrstream@@QAE at XZ(ptr) MSVCIRT_ostrstream_sl_void  # __thiscall ostrstream::ostrstream(void)
-@ cdecl -arch=win64 ??0ostrstream@@QEAA at XZ(ptr) MSVCIRT_ostrstream_sl_void
+@ thiscall -arch=win32 ??0ostrstream@@QAE at XZ(ptr long) MSVCIRT_ostrstream_ctor
+@ cdecl -arch=win64 ??0ostrstream@@QEAA at XZ(ptr long) MSVCIRT_ostrstream_ctor
 @ stub -arch=win32 ??0stdiobuf@@QAE at ABV0@@Z  # __thiscall stdiobuf::stdiobuf(class stdiobuf const &)
 @ stub -arch=win64 ??0stdiobuf@@QEAA at AEBV0@@Z
 @ stub -arch=win32 ??0stdiobuf@@QAE at PAU_iobuf@@@Z  # __thiscall stdiobuf::stdiobuf(struct _iobuf *)
@@ -158,8 +158,8 @@
 @ stub -arch=win64 ??1ostream@@UEAA at XZ
 @ stub -arch=win32 ??1ostream_withassign@@UAE at XZ  # virtual __thiscall ostream_withassign::~ostream_withassign(void)
 @ stub -arch=win64 ??1ostream_withassign@@UEAA at XZ
-@ thiscall -arch=win32 ??1ostrstream@@UAE at XZ(ptr) MSVCIRT_ostrstream_sl_void # virtual __thiscall ostrstream::~ostrstream(void)
-@ cdecl -arch=win64 ??1ostrstream@@UEAA at XZ(ptr) MSVCIRT_ostrstream_sl_void
+@ thiscall -arch=win32 ??1ostrstream@@UAE at XZ(ptr) MSVCIRT_ostrstream_dtor
+@ cdecl -arch=win64 ??1ostrstream@@UEAA at XZ(ptr) MSVCIRT_ostrstream_dtor
 @ stub -arch=win32 ??1stdiobuf@@UAE at XZ  # virtual __thiscall stdiobuf::~stdiobuf(void)
 @ stub -arch=win64 ??1stdiobuf@@UEAA at XZ
 @ stub -arch=win32 ??1stdiostream@@UAE at XZ  # virtual __thiscall stdiostream::~stdiostream(void)
diff --git a/dlls/msvcrt20/msvcrt20.spec b/dlls/msvcrt20/msvcrt20.spec
index c7b28bd..fe1d80c 100644
--- a/dlls/msvcrt20/msvcrt20.spec
+++ b/dlls/msvcrt20/msvcrt20.spec
@@ -86,8 +86,8 @@
 @ stub -arch=win64 ??0ostrstream@@QEAA at AEBV0@@Z
 @ stub -arch=win32 ??0ostrstream@@QAE at PADHH@Z
 @ stub -arch=win64 ??0ostrstream@@QEAA at PEADHH@Z
-@ thiscall -arch=win32 ??0ostrstream@@QAE at XZ(ptr) msvcirt.??0ostrstream@@QAE at XZ
-@ cdecl -arch=win64 ??0ostrstream@@QEAA at XZ(ptr) msvcirt.??0ostrstream@@QEAA at XZ
+@ thiscall -arch=win32 ??0ostrstream@@QAE at XZ(ptr long) msvcirt.??0ostrstream@@QAE at XZ
+@ cdecl -arch=win64 ??0ostrstream@@QEAA at XZ(ptr long) msvcirt.??0ostrstream@@QEAA at XZ
 @ stub -arch=win32 ??0stdiobuf@@QAE at ABV0@@Z
 @ stub -arch=win64 ??0stdiobuf@@QEAA at AEBV0@@Z
 @ stub -arch=win32 ??0stdiobuf@@QAE at PAU_iobuf@@@Z
diff --git a/dlls/msvcrt40/msvcrt40.spec b/dlls/msvcrt40/msvcrt40.spec
index 49df71c..6fa3078 100644
--- a/dlls/msvcrt40/msvcrt40.spec
+++ b/dlls/msvcrt40/msvcrt40.spec
@@ -108,8 +108,8 @@
 @ stub -arch=win64 ??0ostrstream@@QEAA at AEBV0@@Z
 @ stub -arch=win32 ??0ostrstream@@QAE at PADHH@Z
 @ stub -arch=win64 ??0ostrstream@@QEAA at PEADHH@Z
-@ thiscall -arch=win32 ??0ostrstream@@QAE at XZ(ptr) msvcirt.??0ostrstream@@QAE at XZ
-@ cdecl -arch=win64 ??0ostrstream@@QEAA at XZ(ptr) msvcirt.??0ostrstream@@QEAA at XZ
+@ thiscall -arch=win32 ??0ostrstream@@QAE at XZ(ptr long) msvcirt.??0ostrstream@@QAE at XZ
+@ cdecl -arch=win64 ??0ostrstream@@QEAA at XZ(ptr long) msvcirt.??0ostrstream@@QEAA at XZ
 @ stub -arch=win32 ??0stdiobuf@@QAE at ABV0@@Z
 @ stub -arch=win64 ??0stdiobuf@@QEAA at AEBV0@@Z
 @ stub -arch=win32 ??0stdiobuf@@QAE at PAU_iobuf@@@Z




More information about the wine-cvs mailing list