Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
07ccbb63
Commit
07ccbb63
authored
Jun 26, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 26, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added basic_istream<wchar> implementation.
parent
312dd529
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
53 additions
and
0 deletions
+53
-0
ios.c
dlls/msvcp90/ios.c
+0
-0
locale.c
dlls/msvcp90/locale.c
+26
-0
msvcp90.h
dlls/msvcp90/msvcp90.h
+27
-0
msvcp90.spec
dlls/msvcp90/msvcp90.spec
+0
-0
No files found.
dlls/msvcp90/ios.c
View file @
07ccbb63
This diff is collapsed.
Click to expand it.
dlls/msvcp90/locale.c
View file @
07ccbb63
...
...
@@ -4244,6 +4244,32 @@ MSVCP_size_t __cdecl num_get_wchar__Getcat(const locale_facet **facet, const loc
return
LC_NUMERIC
;
}
num_get
*
num_get_wchar_use_facet
(
const
locale
*
loc
)
{
static
num_get
*
obj
=
NULL
;
_Lockit
lock
;
const
locale_facet
*
fac
;
_Lockit_ctor_locktype
(
&
lock
,
_LOCK_LOCALE
);
fac
=
locale__Getfacet
(
loc
,
num_get_wchar_id
.
id
);
if
(
fac
)
{
_Lockit_dtor
(
&
lock
);
return
(
num_get
*
)
fac
;
}
if
(
obj
)
return
obj
;
num_get_wchar__Getcat
(
&
fac
,
loc
);
obj
=
(
num_get
*
)
fac
;
locale_facet__Incref
(
&
obj
->
facet
);
locale_facet_register
(
&
obj
->
facet
);
_Lockit_dtor
(
&
lock
);
return
obj
;
}
/* ?_Getcat@?$num_get@GV?$istreambuf_iterator@GU?$char_traits@G@std@@@std@@@std@@SAIPAPBVfacet@locale@2@PBV42@@Z */
/* ?_Getcat@?$num_get@GV?$istreambuf_iterator@GU?$char_traits@G@std@@@std@@@std@@SA_KPEAPEBVfacet@locale@2@PEBV42@@Z */
MSVCP_size_t
__cdecl
num_get_short__Getcat
(
const
locale_facet
**
facet
,
const
locale
*
loc
)
...
...
dlls/msvcp90/msvcp90.h
View file @
07ccbb63
...
...
@@ -275,6 +275,8 @@ typedef struct _basic_string_wchar
basic_string_wchar
*
__thiscall
MSVCP_basic_string_wchar_ctor_cstr
(
basic_string_wchar
*
,
const
wchar_t
*
);
void
__thiscall
MSVCP_basic_string_wchar_dtor
(
basic_string_wchar
*
);
const
wchar_t
*
__thiscall
MSVCP_basic_string_wchar_c_str
(
const
basic_string_wchar
*
);
void
__thiscall
MSVCP_basic_string_wchar_clear
(
basic_string_wchar
*
);
basic_string_wchar
*
__thiscall
MSVCP_basic_string_wchar_append_ch
(
basic_string_wchar
*
,
wchar_t
);
MSVCP_size_t
__thiscall
MSVCP_basic_string_wchar_length
(
const
basic_string_wchar
*
);
char
*
__stdcall
MSVCP_allocator_char_allocate
(
void
*
,
MSVCP_size_t
);
...
...
@@ -355,6 +357,7 @@ typedef struct {
_Cvtvec
cvt
;
}
ctype_wchar
;
MSVCP_bool
__thiscall
ctype_wchar_is_ch
(
const
ctype_wchar
*
,
short
,
wchar_t
);
char
__thiscall
ctype_wchar_narrow_ch
(
const
ctype_wchar
*
,
wchar_t
,
char
);
wchar_t
__thiscall
ctype_wchar_widen_ch
(
const
ctype_wchar
*
,
char
);
...
...
@@ -585,6 +588,30 @@ istreambuf_iterator_char *__thiscall num_get_char_get_uint64(const num_get*, ist
istreambuf_iterator_char
*
__thiscall
num_get_char_get_bool
(
const
num_get
*
,
istreambuf_iterator_char
*
,
istreambuf_iterator_char
,
istreambuf_iterator_char
,
ios_base
*
,
int
*
,
MSVCP_bool
*
);
num_get
*
num_get_wchar_use_facet
(
const
locale
*
);
istreambuf_iterator_wchar
*
__thiscall
num_get_wchar_get_long
(
const
num_get
*
,
istreambuf_iterator_wchar
*
,
istreambuf_iterator_wchar
,
istreambuf_iterator_wchar
,
ios_base
*
,
int
*
,
LONG
*
);
istreambuf_iterator_wchar
*
__thiscall
num_get_wchar_get_ushort
(
const
num_get
*
,
istreambuf_iterator_wchar
*
,
istreambuf_iterator_wchar
,
istreambuf_iterator_wchar
,
ios_base
*
,
int
*
,
unsigned
short
*
);
istreambuf_iterator_wchar
*
__thiscall
num_get_wchar_get_uint
(
const
num_get
*
,
istreambuf_iterator_wchar
*
,
istreambuf_iterator_wchar
,
istreambuf_iterator_wchar
,
ios_base
*
,
int
*
,
unsigned
int
*
);
istreambuf_iterator_wchar
*
__thiscall
num_get_wchar_get_ulong
(
const
num_get
*
,
istreambuf_iterator_wchar
*
,
istreambuf_iterator_wchar
,
istreambuf_iterator_wchar
,
ios_base
*
,
int
*
,
ULONG
*
);
istreambuf_iterator_wchar
*
__thiscall
num_get_wchar_get_float
(
const
num_get
*
,
istreambuf_iterator_wchar
*
,
istreambuf_iterator_wchar
,
istreambuf_iterator_wchar
,
ios_base
*
,
int
*
,
float
*
);
istreambuf_iterator_wchar
*
__thiscall
num_get_wchar_get_double
(
const
num_get
*
,
istreambuf_iterator_wchar
*
,
istreambuf_iterator_wchar
,
istreambuf_iterator_wchar
,
ios_base
*
,
int
*
,
double
*
);
istreambuf_iterator_wchar
*
__thiscall
num_get_wchar_get_ldouble
(
const
num_get
*
,
istreambuf_iterator_wchar
*
,
istreambuf_iterator_wchar
,
istreambuf_iterator_wchar
,
ios_base
*
,
int
*
,
double
*
);
istreambuf_iterator_wchar
*
__thiscall
num_get_wchar_get_void
(
const
num_get
*
,
istreambuf_iterator_wchar
*
,
istreambuf_iterator_wchar
,
istreambuf_iterator_wchar
,
ios_base
*
,
int
*
,
void
**
);
istreambuf_iterator_wchar
*
__thiscall
num_get_wchar_get_int64
(
const
num_get
*
,
istreambuf_iterator_wchar
*
,
istreambuf_iterator_wchar
,
istreambuf_iterator_wchar
,
ios_base
*
,
int
*
,
LONGLONG
*
);
istreambuf_iterator_wchar
*
__thiscall
num_get_wchar_get_uint64
(
const
num_get
*
,
istreambuf_iterator_wchar
*
,
istreambuf_iterator_wchar
,
istreambuf_iterator_wchar
,
ios_base
*
,
int
*
,
ULONGLONG
*
);
istreambuf_iterator_wchar
*
__thiscall
num_get_wchar_get_bool
(
const
num_get
*
,
istreambuf_iterator_wchar
*
,
istreambuf_iterator_wchar
,
istreambuf_iterator_wchar
,
ios_base
*
,
int
*
,
MSVCP_bool
*
);
/* class num_put<char> */
/* class num_put<wchar> */
typedef
struct
{
...
...
dlls/msvcp90/msvcp90.spec
View file @
07ccbb63
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment