[v3 7/7] msvcirt: Implement ostream manipulators
Iván Matellanes
matellanesivan at gmail.com
Wed Jun 22 07:59:53 CDT 2016
Signed-off-by: Iván Matellanes <matellanes.ivan at gmail.com>
---
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);
}
/******************************************************************
--
2.7.4
More information about the wine-patches
mailing list