=?UTF-8?Q?Iv=C3=A1n=20Matellanes=20?=: msvcirt: Implement ostream manipulators.
Alexandre Julliard
julliard at winehq.org
Wed Jun 22 11:04:42 CDT 2016
Module: wine
Branch: master
Commit: 38fb1062daaf68afe4dc20e1aceddfa89fe1ea4f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=38fb1062daaf68afe4dc20e1aceddfa89fe1ea4f
Author: Iván Matellanes <matellanesivan at gmail.com>
Date: Wed Jun 22 13:59:53 2016 +0100
msvcirt: Implement ostream manipulators.
Signed-off-by: Iván Matellanes <matellanes.ivan at gmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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);
}
/******************************************************************
More information about the wine-cvs
mailing list