[v2 02/10] msvcirt: Implement ostream constructors/destructors

Piotr Caban piotr.caban at gmail.com
Tue Jun 14 10:20:16 CDT 2016


On 06/14/16 16:40, Iván Matellanes wrote:
>  /* ??_Dostream@@QAEXXZ */
> @@ -2287,23 +2341,48 @@ ostream* __thiscall ostream_assign(ostream *this, const ostream *rhs)
>  DEFINE_THISCALL_WRAPPER(ostream_vbase_dtor, 4)
>  void __thiscall ostream_vbase_dtor(ostream *this)
>  {
> -    FIXME("(%p) stub\n", this);
> +    ios *base = ostream_to_ios(this);
> +
> +    TRACE("(%p)\n", this);
> +
> +    ostream_dtor(base);
> +    ios_dtor(base);
>  }
The base should be computed using ostream_get_ios while calling ios_dtor:
TRACE("(%p)\n", this);
ostream_dtor(ostream_to_ios(this));
ios_dtor(ostream_get_ios(this));

Thanks,
Piotr



More information about the wine-devel mailing list