Commit 5fea6203 authored by Iván Matellanes's avatar Iván Matellanes Committed by Alexandre Julliard

msvcirt: Implement ios::tie.

parent c21fa9c5
......@@ -1142,8 +1142,12 @@ void __cdecl ios_sync_with_stdio(void)
DEFINE_THISCALL_WRAPPER(ios_tie_set, 8)
ostream* __thiscall ios_tie_set(ios *this, ostream *ostr)
{
FIXME("(%p %p) stub\n", this, ostr);
return NULL;
ostream *prev = this->tie;
TRACE("(%p %p)\n", this, ostr);
this->tie = ostr;
return prev;
}
/* ?tie@ios@@QBEPAVostream@@XZ */
......@@ -1151,8 +1155,8 @@ ostream* __thiscall ios_tie_set(ios *this, ostream *ostr)
DEFINE_THISCALL_WRAPPER(ios_tie_get, 4)
ostream* __thiscall ios_tie_get(const ios *this)
{
FIXME("(%p) stub\n", this);
return NULL;
TRACE("(%p)\n", this);
return this->tie;
}
/* ?unlock@ios@@QAAXXZ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment