msvcp90: Added basic_ios::widen implementation.

This commit is contained in:
Piotr Caban 2012-06-15 11:09:15 +02:00 committed by Alexandre Julliard
parent 65a364a2f3
commit 24f9290cd6
2 changed files with 6 additions and 4 deletions

View File

@ -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)
char __thiscall basic_ios_char_widen(basic_ios_char *this, char ch)
{
FIXME("(%p %c) stub\n", this, ch);
return 0;
TRACE("(%p %c)\n", this, ch);
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
DEFINE_THISCALL_WRAPPER(basic_ios_wchar_widen, 8)
wchar_t __thiscall basic_ios_wchar_widen(basic_ios_wchar *this, char ch)
{
FIXME("(%p %c)\n", this, ch);
return 0;
TRACE("(%p %c)\n", this, ch);
return ctype_wchar_widen_ch(ctype_wchar_use_facet(this->strbuf->loc), ch);
}
/* Caution: basic_ostream uses virtual inheritance.

View File

@ -332,6 +332,7 @@ typedef struct {
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_widen_ch(const ctype_char*, char);
typedef struct {
LCID handle;
@ -346,6 +347,7 @@ typedef struct {
} ctype_wchar;
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 */
typedef struct