Module: wine Branch: master Commit: 3c5328dca83bde9536df4ee6c3efd21deb7fa716 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3c5328dca83bde9536df4ee6c3...
Author: Iván Matellanes matellanesivan@gmail.com Date: Fri Jul 17 16:37:09 2015 +0200
msvcirt: Implement ios manipulators.
---
dlls/msvcirt/msvcirt.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcirt/msvcirt.c b/dlls/msvcirt/msvcirt.c index 6dd650b..bbcefbf 100644 --- a/dlls/msvcirt/msvcirt.c +++ b/dlls/msvcirt/msvcirt.c @@ -90,6 +90,7 @@ typedef struct { ios* __thiscall ios_assign(ios*, const ios*); int __thiscall ios_fail(const ios*); void __cdecl ios_lock(ios*); +LONG __thiscall ios_setf_mask(ios*, LONG, LONG); void __cdecl ios_unlock(ios*);
/* class ostream */ @@ -905,7 +906,8 @@ int __thiscall ios_delbuf_get(const ios *this) /* ?dec@@YAAEAVios@@AEAV1@@Z */ ios* __cdecl ios_dec(ios *this) { - FIXME("(%p) stub\n", this); + TRACE("(%p)\n", this); + ios_setf_mask(this, FLAGS_dec, ios_basefield); return this; }
@@ -984,7 +986,8 @@ int __thiscall ios_good(const ios *this) /* ?hex@@YAAEAVios@@AEAV1@@Z */ ios* __cdecl ios_hex(ios *this) { - FIXME("(%p) stub\n", this); + TRACE("(%p)\n", this); + ios_setf_mask(this, FLAGS_hex, ios_basefield); return this; }
@@ -1049,7 +1052,8 @@ CRITICAL_SECTION* __thiscall ios_lockptr(ios *this) /* ?oct@@YAAEAVios@@AEAV1@@Z */ ios* __cdecl ios_oct(ios *this) { - FIXME("(%p) stub\n", this); + TRACE("(%p)\n", this); + ios_setf_mask(this, FLAGS_oct, ios_basefield); return this; }