Commit 44fbaf33 authored by Iván Matellanes's avatar Iván Matellanes Committed by Alexandre Julliard

msvcirt: Add implementation of streambuf::in_avail/out_waiting.

parent 6b6dc42d
...@@ -335,6 +335,24 @@ void __thiscall streambuf_pbump(streambuf *this, int count) ...@@ -335,6 +335,24 @@ void __thiscall streambuf_pbump(streambuf *this, int count)
this->pptr += count; this->pptr += count;
} }
/* ?in_avail@streambuf@@QBEHXZ */
/* ?in_avail@streambuf@@QEBAHXZ */
DEFINE_THISCALL_WRAPPER(streambuf_in_avail, 4)
int __thiscall streambuf_in_avail(const streambuf *this)
{
TRACE("(%p)\n", this);
return this->egptr - this->gptr;
}
/* ?out_waiting@streambuf@@QBEHXZ */
/* ?out_waiting@streambuf@@QEBAHXZ */
DEFINE_THISCALL_WRAPPER(streambuf_out_waiting, 4)
int __thiscall streambuf_out_waiting(const streambuf *this)
{
TRACE("(%p)\n", this);
return this->pptr - this->pbase;
}
/* Unexported */ /* Unexported */
DEFINE_THISCALL_WRAPPER(streambuf_overflow, 8) DEFINE_THISCALL_WRAPPER(streambuf_overflow, 8)
int __thiscall streambuf_overflow(streambuf *this, int c) int __thiscall streambuf_overflow(streambuf *this, int c)
......
...@@ -531,8 +531,8 @@ ...@@ -531,8 +531,8 @@
@ stub -arch=win64 ?hex@@YAAEAVios@@AEAV1@@Z @ stub -arch=win64 ?hex@@YAAEAVios@@AEAV1@@Z
@ stub -arch=win32 ?ignore@istream@@QAEAAV1@HH@Z # class istream & __thiscall istream::ignore(int,int) @ stub -arch=win32 ?ignore@istream@@QAEAAV1@HH@Z # class istream & __thiscall istream::ignore(int,int)
@ stub -arch=win64 ?ignore@istream@@QEAAAEAV1@HH@Z @ stub -arch=win64 ?ignore@istream@@QEAAAEAV1@HH@Z
@ stub -arch=win32 ?in_avail@streambuf@@QBEHXZ # int __thiscall streambuf::in_avail(void)const @ thiscall -arch=win32 ?in_avail@streambuf@@QBEHXZ(ptr) streambuf_in_avail
@ stub -arch=win64 ?in_avail@streambuf@@QEBAHXZ @ cdecl -arch=win64 ?in_avail@streambuf@@QEBAHXZ(ptr) streambuf_in_avail
@ stub -arch=win32 ?init@ios@@IAEXPAVstreambuf@@@Z # void __thiscall ios::init(class streambuf *) @ stub -arch=win32 ?init@ios@@IAEXPAVstreambuf@@@Z # void __thiscall ios::init(class streambuf *)
@ stub -arch=win64 ?init@ios@@IEAAXPEAVstreambuf@@@Z @ stub -arch=win64 ?init@ios@@IEAAXPEAVstreambuf@@@Z
@ stub -arch=win32 ?ipfx@istream@@QAEHH@Z # int __thiscall istream::ipfx(int) @ stub -arch=win32 ?ipfx@istream@@QAEHH@Z # int __thiscall istream::ipfx(int)
...@@ -575,8 +575,8 @@ ...@@ -575,8 +575,8 @@
@ stub -arch=win64 ?opfx@ostream@@QEAAHXZ @ stub -arch=win64 ?opfx@ostream@@QEAAHXZ
@ stub -arch=win32 ?osfx@ostream@@QAEXXZ # void __thiscall ostream::osfx(void) @ stub -arch=win32 ?osfx@ostream@@QAEXXZ # void __thiscall ostream::osfx(void)
@ stub -arch=win64 ?osfx@ostream@@QEAAXXZ @ stub -arch=win64 ?osfx@ostream@@QEAAXXZ
@ stub -arch=win32 ?out_waiting@streambuf@@QBEHXZ # int __thiscall streambuf::out_waiting(void)const @ thiscall -arch=win32 ?out_waiting@streambuf@@QBEHXZ(ptr) streambuf_out_waiting
@ stub -arch=win64 ?out_waiting@streambuf@@QEBAHXZ @ cdecl -arch=win64 ?out_waiting@streambuf@@QEBAHXZ(ptr) streambuf_out_waiting
@ stub -arch=win32 ?overflow@filebuf@@UAEHH@Z # virtual int __thiscall filebuf::overflow(int) @ stub -arch=win32 ?overflow@filebuf@@UAEHH@Z # virtual int __thiscall filebuf::overflow(int)
@ stub -arch=win64 ?overflow@filebuf@@UEAAHH@Z @ stub -arch=win64 ?overflow@filebuf@@UEAAHH@Z
@ stub -arch=win32 ?overflow@stdiobuf@@UAEHH@Z # virtual int __thiscall stdiobuf::overflow(int) @ stub -arch=win32 ?overflow@stdiobuf@@UAEHH@Z # virtual int __thiscall stdiobuf::overflow(int)
......
...@@ -517,8 +517,8 @@ ...@@ -517,8 +517,8 @@
@ stub -arch=win64 ?hex@@YAAEAVios@@AEAV1@@Z @ stub -arch=win64 ?hex@@YAAEAVios@@AEAV1@@Z
@ stub -arch=win32 ?ignore@istream@@QAEAAV1@HH@Z @ stub -arch=win32 ?ignore@istream@@QAEAAV1@HH@Z
@ stub -arch=win64 ?ignore@istream@@QEAAAEAV1@HH@Z @ stub -arch=win64 ?ignore@istream@@QEAAAEAV1@HH@Z
@ stub -arch=win32 ?in_avail@streambuf@@QBEHXZ @ thiscall -arch=win32 ?in_avail@streambuf@@QBEHXZ(ptr) msvcirt.?in_avail@streambuf@@QBEHXZ
@ stub -arch=win64 ?in_avail@streambuf@@QEBAHXZ @ cdecl -arch=win64 ?in_avail@streambuf@@QEBAHXZ(ptr) msvcirt.?in_avail@streambuf@@QEBAHXZ
@ stub -arch=win32 ?init@ios@@IAEXPAVstreambuf@@@Z @ stub -arch=win32 ?init@ios@@IAEXPAVstreambuf@@@Z
@ stub -arch=win64 ?init@ios@@IEAAXPEAVstreambuf@@@Z @ stub -arch=win64 ?init@ios@@IEAAXPEAVstreambuf@@@Z
@ stub -arch=win32 ?ipfx@istream@@QAEHH@Z @ stub -arch=win32 ?ipfx@istream@@QAEHH@Z
...@@ -561,8 +561,8 @@ ...@@ -561,8 +561,8 @@
@ stub -arch=win64 ?opfx@ostream@@QEAAHXZ @ stub -arch=win64 ?opfx@ostream@@QEAAHXZ
@ stub -arch=win32 ?osfx@ostream@@QAEXXZ @ stub -arch=win32 ?osfx@ostream@@QAEXXZ
@ stub -arch=win64 ?osfx@ostream@@QEAAXXZ @ stub -arch=win64 ?osfx@ostream@@QEAAXXZ
@ stub -arch=win32 ?out_waiting@streambuf@@QBEHXZ @ thiscall -arch=win32 ?out_waiting@streambuf@@QBEHXZ(ptr) msvcirt.?out_waiting@streambuf@@QBEHXZ
@ stub -arch=win64 ?out_waiting@streambuf@@QEBAHXZ @ cdecl -arch=win64 ?out_waiting@streambuf@@QEBAHXZ(ptr) msvcirt.?out_waiting@streambuf@@QEBAHXZ
@ stub -arch=win32 ?overflow@filebuf@@UAEHH@Z @ stub -arch=win32 ?overflow@filebuf@@UAEHH@Z
@ stub -arch=win64 ?overflow@filebuf@@UEAAHH@Z @ stub -arch=win64 ?overflow@filebuf@@UEAAHH@Z
@ stub -arch=win32 ?overflow@stdiobuf@@UAEHH@Z @ stub -arch=win32 ?overflow@stdiobuf@@UAEHH@Z
......
...@@ -584,8 +584,8 @@ ...@@ -584,8 +584,8 @@
@ stub -arch=win64 ?hex@@YAAEAVios@@AEAV1@@Z @ stub -arch=win64 ?hex@@YAAEAVios@@AEAV1@@Z
@ stub -arch=win32 ?ignore@istream@@QAEAAV1@HH@Z @ stub -arch=win32 ?ignore@istream@@QAEAAV1@HH@Z
@ stub -arch=win64 ?ignore@istream@@QEAAAEAV1@HH@Z @ stub -arch=win64 ?ignore@istream@@QEAAAEAV1@HH@Z
@ stub -arch=win32 ?in_avail@streambuf@@QBEHXZ @ thiscall -arch=win32 ?in_avail@streambuf@@QBEHXZ(ptr) msvcirt.?in_avail@streambuf@@QBEHXZ
@ stub -arch=win64 ?in_avail@streambuf@@QEBAHXZ @ cdecl -arch=win64 ?in_avail@streambuf@@QEBAHXZ(ptr) msvcirt.?in_avail@streambuf@@QEBAHXZ
@ stub -arch=win32 ?init@ios@@IAEXPAVstreambuf@@@Z @ stub -arch=win32 ?init@ios@@IAEXPAVstreambuf@@@Z
@ stub -arch=win64 ?init@ios@@IEAAXPEAVstreambuf@@@Z @ stub -arch=win64 ?init@ios@@IEAAXPEAVstreambuf@@@Z
@ stub -arch=win32 ?ipfx@istream@@QAEHH@Z @ stub -arch=win32 ?ipfx@istream@@QAEHH@Z
...@@ -630,8 +630,8 @@ ...@@ -630,8 +630,8 @@
@ stub -arch=win64 ?opfx@ostream@@QEAAHXZ @ stub -arch=win64 ?opfx@ostream@@QEAAHXZ
@ stub -arch=win32 ?osfx@ostream@@QAEXXZ @ stub -arch=win32 ?osfx@ostream@@QAEXXZ
@ stub -arch=win64 ?osfx@ostream@@QEAAXXZ @ stub -arch=win64 ?osfx@ostream@@QEAAXXZ
@ stub -arch=win32 ?out_waiting@streambuf@@QBEHXZ @ thiscall -arch=win32 ?out_waiting@streambuf@@QBEHXZ(ptr) msvcirt.?out_waiting@streambuf@@QBEHXZ
@ stub -arch=win64 ?out_waiting@streambuf@@QEBAHXZ @ cdecl -arch=win64 ?out_waiting@streambuf@@QEBAHXZ(ptr) msvcirt.?out_waiting@streambuf@@QEBAHXZ
@ stub -arch=win32 ?overflow@filebuf@@UAEHH@Z @ stub -arch=win32 ?overflow@filebuf@@UAEHH@Z
@ stub -arch=win64 ?overflow@filebuf@@UEAAHH@Z @ stub -arch=win64 ?overflow@filebuf@@UEAAHH@Z
@ stub -arch=win32 ?overflow@stdiobuf@@UAEHH@Z @ stub -arch=win32 ?overflow@stdiobuf@@UAEHH@Z
......
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