msvcirt: Add implementation of streambuf::unbuffered.

This commit is contained in:
Iván Matellanes 2015-06-08 21:26:36 +02:00 committed by Alexandre Julliard
parent 43b9cb7180
commit 2e880feaab
4 changed files with 30 additions and 12 deletions

View File

@ -385,6 +385,24 @@ int __thiscall streambuf_sync(streambuf *this)
return EOF;
}
/* ?unbuffered@streambuf@@IAEXH@Z */
/* ?unbuffered@streambuf@@IEAAXH@Z */
DEFINE_THISCALL_WRAPPER(streambuf_unbuffered_set, 8)
void __thiscall streambuf_unbuffered_set(streambuf *this, int buf)
{
TRACE("(%p %d)\n", this, buf);
this->unbuffered = buf;
}
/* ?unbuffered@streambuf@@IBEHXZ */
/* ?unbuffered@streambuf@@IEBAHXZ */
DEFINE_THISCALL_WRAPPER(streambuf_unbuffered_get, 4)
int __thiscall streambuf_unbuffered_get(const streambuf *this)
{
TRACE("(%p)\n", this);
return this->unbuffered;
}
/* Unexported */
DEFINE_THISCALL_WRAPPER(streambuf_underflow, 4)
int __thiscall streambuf_underflow(streambuf *this)

View File

@ -741,10 +741,10 @@
@ stub -arch=win64 ?tie@ios@@QEAAPEAVostream@@PEAV2@@Z
@ stub -arch=win32 ?tie@ios@@QBEPAVostream@@XZ # class ostream * __thiscall ios::tie(void)const
@ stub -arch=win64 ?tie@ios@@QEBAPEAVostream@@XZ
@ stub -arch=win32 ?unbuffered@streambuf@@IAEXH@Z # void __thiscall streambuf::unbuffered(int)
@ stub -arch=win64 ?unbuffered@streambuf@@IEAAXH@Z
@ stub -arch=win32 ?unbuffered@streambuf@@IBEHXZ # int __thiscall streambuf::unbuffered(void)const
@ stub -arch=win64 ?unbuffered@streambuf@@IEBAHXZ
@ thiscall -arch=win32 ?unbuffered@streambuf@@IAEXH@Z(ptr long) streambuf_unbuffered_set
@ cdecl -arch=win64 ?unbuffered@streambuf@@IEAAXH@Z(ptr long) streambuf_unbuffered_set
@ thiscall -arch=win32 ?unbuffered@streambuf@@IBEHXZ(ptr) streambuf_unbuffered_get
@ cdecl -arch=win64 ?unbuffered@streambuf@@IEBAHXZ(ptr) streambuf_unbuffered_get
@ stub -arch=win32 ?underflow@filebuf@@UAEHXZ # virtual int __thiscall filebuf::underflow(void)
@ stub -arch=win64 ?underflow@filebuf@@UEAAHXZ
@ stub -arch=win32 ?underflow@stdiobuf@@UAEHXZ # virtual int __thiscall stdiobuf::underflow(void)

View File

@ -730,10 +730,10 @@
@ stub -arch=win64 ?tie@ios@@QEAAPEAVostream@@PEAV2@@Z
@ stub -arch=win32 ?tie@ios@@QBEPAVostream@@XZ
@ stub -arch=win64 ?tie@ios@@QEBAPEAVostream@@XZ
@ stub -arch=win32 ?unbuffered@streambuf@@IAEXH@Z
@ stub -arch=win64 ?unbuffered@streambuf@@IEAAXH@Z
@ stub -arch=win32 ?unbuffered@streambuf@@IBEHXZ
@ stub -arch=win64 ?unbuffered@streambuf@@IEBAHXZ
@ thiscall -arch=win32 ?unbuffered@streambuf@@IAEXH@Z(ptr long) msvcirt.?unbuffered@streambuf@@IAEXH@Z
@ cdecl -arch=win64 ?unbuffered@streambuf@@IEAAXH@Z(ptr long) msvcirt.?unbuffered@streambuf@@IEAAXH@Z
@ thiscall -arch=win32 ?unbuffered@streambuf@@IBEHXZ(ptr) msvcirt.?unbuffered@streambuf@@IBEHXZ
@ cdecl -arch=win64 ?unbuffered@streambuf@@IEBAHXZ(ptr) msvcirt.?unbuffered@streambuf@@IEBAHXZ
@ stub -arch=win32 ?underflow@filebuf@@UAEHXZ
@ stub -arch=win64 ?underflow@filebuf@@UEAAHXZ
@ stub -arch=win32 ?underflow@stdiobuf@@UAEHXZ

View File

@ -802,10 +802,10 @@
@ stub -arch=win64 ?tie@ios@@QEAAPEAVostream@@PEAV2@@Z
@ stub -arch=win32 ?tie@ios@@QBEPAVostream@@XZ
@ stub -arch=win64 ?tie@ios@@QEBAPEAVostream@@XZ
@ stub -arch=win32 ?unbuffered@streambuf@@IAEXH@Z
@ stub -arch=win64 ?unbuffered@streambuf@@IEAAXH@Z
@ stub -arch=win32 ?unbuffered@streambuf@@IBEHXZ
@ stub -arch=win64 ?unbuffered@streambuf@@IEBAHXZ
@ thiscall -arch=win32 ?unbuffered@streambuf@@IAEXH@Z(ptr long) msvcirt.?unbuffered@streambuf@@IAEXH@Z
@ cdecl -arch=win64 ?unbuffered@streambuf@@IEAAXH@Z(ptr long) msvcirt.?unbuffered@streambuf@@IEAAXH@Z
@ thiscall -arch=win32 ?unbuffered@streambuf@@IBEHXZ(ptr) msvcirt.?unbuffered@streambuf@@IBEHXZ
@ cdecl -arch=win64 ?unbuffered@streambuf@@IEBAHXZ(ptr) msvcirt.?unbuffered@streambuf@@IEBAHXZ
@ stub -arch=win32 ?underflow@filebuf@@UAEHXZ
@ stub -arch=win64 ?underflow@filebuf@@UEAAHXZ
@ stub -arch=win32 ?underflow@stdiobuf@@UAEHXZ