Commit 24f9290c authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcp90: Added basic_ios::widen implementation.

parent 65a364a2
...@@ -3259,8 +3259,8 @@ basic_ostream_char* __thiscall basic_ios_char_tie_get(const basic_ios_char *this ...@@ -3259,8 +3259,8 @@ basic_ostream_char* __thiscall basic_ios_char_tie_get(const basic_ios_char *this
DEFINE_THISCALL_WRAPPER(basic_ios_char_widen, 8) DEFINE_THISCALL_WRAPPER(basic_ios_char_widen, 8)
char __thiscall basic_ios_char_widen(basic_ios_char *this, char ch) char __thiscall basic_ios_char_widen(basic_ios_char *this, char ch)
{ {
FIXME("(%p %c) stub\n", this, ch); TRACE("(%p %c)\n", this, ch);
return 0; return ctype_char_widen_ch(ctype_char_use_facet(this->strbuf->loc), ch);
} }
...@@ -3539,8 +3539,8 @@ basic_ostream_wchar* __thiscall basic_ios_wchar_tie_get(const basic_ios_wchar *t ...@@ -3539,8 +3539,8 @@ basic_ostream_wchar* __thiscall basic_ios_wchar_tie_get(const basic_ios_wchar *t
DEFINE_THISCALL_WRAPPER(basic_ios_wchar_widen, 8) DEFINE_THISCALL_WRAPPER(basic_ios_wchar_widen, 8)
wchar_t __thiscall basic_ios_wchar_widen(basic_ios_wchar *this, char ch) wchar_t __thiscall basic_ios_wchar_widen(basic_ios_wchar *this, char ch)
{ {
FIXME("(%p %c)\n", this, ch); TRACE("(%p %c)\n", this, ch);
return 0; return ctype_wchar_widen_ch(ctype_wchar_use_facet(this->strbuf->loc), ch);
} }
/* Caution: basic_ostream uses virtual inheritance. /* Caution: basic_ostream uses virtual inheritance.
......
...@@ -332,6 +332,7 @@ typedef struct { ...@@ -332,6 +332,7 @@ typedef struct {
MSVCP_bool __thiscall ctype_char_is_ch(const ctype_char*, short, char); MSVCP_bool __thiscall ctype_char_is_ch(const ctype_char*, short, char);
char __thiscall ctype_char_narrow_ch(const ctype_char*, char, char); char __thiscall ctype_char_narrow_ch(const ctype_char*, char, char);
char __thiscall ctype_char_widen_ch(const ctype_char*, char);
typedef struct { typedef struct {
LCID handle; LCID handle;
...@@ -346,6 +347,7 @@ typedef struct { ...@@ -346,6 +347,7 @@ typedef struct {
} ctype_wchar; } ctype_wchar;
char __thiscall ctype_wchar_narrow_ch(const ctype_wchar*, wchar_t, char); char __thiscall ctype_wchar_narrow_ch(const ctype_wchar*, wchar_t, char);
wchar_t __thiscall ctype_wchar_widen_ch(const ctype_wchar*, char);
/* class locale */ /* class locale */
typedef struct typedef struct
......
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