msvcirt: Add implementation of streambuf::sputbackc.
This commit is contained in:
parent
6cca77bf2a
commit
56f150b1c4
|
@ -365,6 +365,7 @@ int __thiscall streambuf_overflow(streambuf *this, int c)
|
|||
/* ?pbackfail@streambuf@@UAEHH@Z */
|
||||
/* ?pbackfail@streambuf@@UEAAHH@Z */
|
||||
DEFINE_THISCALL_WRAPPER(streambuf_pbackfail, 8)
|
||||
#define call_streambuf_pbackfail(this, c) CALL_VTBL_FUNC(this, 36, int, (streambuf*, int), (this, c))
|
||||
int __thiscall streambuf_pbackfail(streambuf *this, int c)
|
||||
{
|
||||
TRACE("(%p %d)\n", this, c);
|
||||
|
@ -657,6 +658,15 @@ void __thiscall streambuf_stossc(streambuf *this)
|
|||
}
|
||||
}
|
||||
|
||||
/* ?sputbackc@streambuf@@QAEHD@Z */
|
||||
/* ?sputbackc@streambuf@@QEAAHD@Z */
|
||||
DEFINE_THISCALL_WRAPPER(streambuf_sputbackc, 8)
|
||||
int __thiscall streambuf_sputbackc(streambuf *this, char ch)
|
||||
{
|
||||
TRACE("(%p %d)\n", this, ch);
|
||||
return call_streambuf_pbackfail(this, ch);
|
||||
}
|
||||
|
||||
/******************************************************************
|
||||
* ??1ios@@UAE@XZ (MSVCRTI.@)
|
||||
* class ios & __thiscall ios::-ios<<(void)
|
||||
|
|
|
@ -702,8 +702,8 @@
|
|||
# @ extern ?sh_write@filebuf@@2HB # static int const filebuf::sh_write
|
||||
@ thiscall -arch=win32 ?snextc@streambuf@@QAEHXZ(ptr) streambuf_snextc
|
||||
@ cdecl -arch=win64 ?snextc@streambuf@@QEAAHXZ(ptr) streambuf_snextc
|
||||
@ stub -arch=win32 ?sputbackc@streambuf@@QAEHD@Z # int __thiscall streambuf::sputbackc(char)
|
||||
@ stub -arch=win64 ?sputbackc@streambuf@@QEAAHD@Z
|
||||
@ thiscall -arch=win32 ?sputbackc@streambuf@@QAEHD@Z(ptr long) streambuf_sputbackc
|
||||
@ cdecl -arch=win64 ?sputbackc@streambuf@@QEAAHD@Z(ptr long) streambuf_sputbackc
|
||||
@ thiscall -arch=win32 ?sputc@streambuf@@QAEHH@Z(ptr long) streambuf_sputc
|
||||
@ cdecl -arch=win64 ?sputc@streambuf@@QEAAHH@Z(ptr long) streambuf_sputc
|
||||
@ thiscall -arch=win32 ?sputn@streambuf@@QAEHPBDH@Z(ptr str long) streambuf_sputn
|
||||
|
|
|
@ -690,8 +690,8 @@
|
|||
# @ extern ?sh_write@filebuf@@2HB
|
||||
@ thiscall -arch=win32 ?snextc@streambuf@@QAEHXZ(ptr) msvcirt.?snextc@streambuf@@QAEHXZ
|
||||
@ cdecl -arch=win64 ?snextc@streambuf@@QEAAHXZ(ptr) msvcirt.?snextc@streambuf@@QEAAHXZ
|
||||
@ stub -arch=win32 ?sputbackc@streambuf@@QAEHD@Z
|
||||
@ stub -arch=win64 ?sputbackc@streambuf@@QEAAHD@Z
|
||||
@ thiscall -arch=win32 ?sputbackc@streambuf@@QAEHD@Z(ptr long) msvcirt.?sputbackc@streambuf@@QAEHD@Z
|
||||
@ cdecl -arch=win64 ?sputbackc@streambuf@@QEAAHD@Z(ptr long) msvcirt.?sputbackc@streambuf@@QEAAHD@Z
|
||||
@ thiscall -arch=win32 ?sputc@streambuf@@QAEHH@Z(ptr long) msvcirt.?sputc@streambuf@@QAEHH@Z
|
||||
@ cdecl -arch=win64 ?sputc@streambuf@@QEAAHH@Z(ptr long) msvcirt.?sputc@streambuf@@QEAAHH@Z
|
||||
@ thiscall -arch=win32 ?sputn@streambuf@@QAEHPBDH@Z(ptr str long) msvcirt.?sputn@streambuf@@QAEHPBDH@Z
|
||||
|
|
|
@ -762,8 +762,8 @@
|
|||
# @ extern ?sh_write@filebuf@@2HB
|
||||
@ thiscall -arch=win32 ?snextc@streambuf@@QAEHXZ(ptr) msvcirt.?snextc@streambuf@@QAEHXZ
|
||||
@ cdecl -arch=win64 ?snextc@streambuf@@QEAAHXZ(ptr) msvcirt.?snextc@streambuf@@QEAAHXZ
|
||||
@ stub -arch=win32 ?sputbackc@streambuf@@QAEHD@Z
|
||||
@ stub -arch=win64 ?sputbackc@streambuf@@QEAAHD@Z
|
||||
@ thiscall -arch=win32 ?sputbackc@streambuf@@QAEHD@Z(ptr long) msvcirt.?sputbackc@streambuf@@QAEHD@Z
|
||||
@ cdecl -arch=win64 ?sputbackc@streambuf@@QEAAHD@Z(ptr long) msvcirt.?sputbackc@streambuf@@QEAAHD@Z
|
||||
@ thiscall -arch=win32 ?sputc@streambuf@@QAEHH@Z(ptr long) msvcirt.?sputc@streambuf@@QAEHH@Z
|
||||
@ cdecl -arch=win64 ?sputc@streambuf@@QEAAHH@Z(ptr long) msvcirt.?sputc@streambuf@@QEAAHH@Z
|
||||
@ thiscall -arch=win32 ?sputn@streambuf@@QAEHPBDH@Z(ptr str long) msvcirt.?sputn@streambuf@@QAEHPBDH@Z
|
||||
|
|
Loading…
Reference in New Issue