Module: wine Branch: master Commit: 38fb1062daaf68afe4dc20e1aceddfa89fe1ea4f URL: http://source.winehq.org/git/wine.git/?a=commit;h=38fb1062daaf68afe4dc20e1ac...
Author: Iván Matellanes matellanesivan@gmail.com Date: Wed Jun 22 13:59:53 2016 +0100
msvcirt: Implement ostream manipulators.
Signed-off-by: Iván Matellanes matellanes.ivan@gmail.com Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/msvcirt/msvcirt.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/dlls/msvcirt/msvcirt.c b/dlls/msvcirt/msvcirt.c index 32c1bf4..666c44c 100644 --- a/dlls/msvcirt/msvcirt.c +++ b/dlls/msvcirt/msvcirt.c @@ -2843,24 +2843,25 @@ ostream* __thiscall ostream_print_ios_manip(ostream *this, ios* (__cdecl *func)( /* ?endl@@YAAEAVostream@@AEAV1@@Z */ ostream* __cdecl ostream_endl(ostream *this) { - FIXME("(%p) stub\n", this); - return this; + TRACE("(%p)\n", this); + ostream_put_char(this, '\n'); + return ostream_flush(this); }
/* ?ends@@YAAAVostream@@AAV1@@Z */ /* ?ends@@YAAEAVostream@@AEAV1@@Z */ ostream* __cdecl ostream_ends(ostream *this) { - FIXME("(%p) stub\n", this); - return this; + TRACE("(%p)\n", this); + return ostream_put_char(this, 0); }
/* ?flush@@YAAAVostream@@AAV1@@Z */ /* ?flush@@YAAEAVostream@@AEAV1@@Z */ ostream* __cdecl ostream_flush_manip(ostream *this) { - FIXME("(%p) stub\n", this); - return this; + TRACE("(%p)\n", this); + return ostream_flush(this); }
/******************************************************************