[10/13] msvcirt: Implement ios manipulators
Iván Matellanes
matellanesivan at gmail.com
Fri Jul 17 09:37:09 CDT 2015
---
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;
}
--
2.1.4
More information about the wine-patches
mailing list