[1/6] msvcirt: Add a partial implementation of class ostream_withassign.

Piotr Caban piotr.caban at gmail.com
Fri Aug 5 06:22:08 CDT 2016


Hi Iván,

On 08/05/16 13:12, Iván Matellanes wrote:
>  typedef struct _ostream {
>      const int *vbtable;
>      int unknown;
> -} ostream;
> +} ostream, ostream_withassign;
I don't think you need ostream_withassign type. You can just use ostream 
since the structures are identical.

>  /* ??0ostream@@QAE at PAVstreambuf@@@Z */
>  /* ??0ostream@@QEAA at PEAVstreambuf@@@Z */
> +/* ??0ostream_withassign@@QAE at PAVstreambuf@@@Z */
> +/* ??0ostream_withassign@@QEAA at PEAVstreambuf@@@Z */
>  DEFINE_THISCALL_WRAPPER(ostream_sb_ctor, 12)
Calling ostream equivalents is OK in most cases. In case of constructors 
ostream_withassing_vtable should be used.

Thanks,
Piotr



More information about the wine-devel mailing list