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
2e449eba
Commit
2e449eba
authored
Nov 25, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added locale::_Addfac implementation.
parent
1263b618
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
locale.c
dlls/msvcp90/locale.c
+21
-2
No files found.
dlls/msvcp90/locale.c
View file @
2e449eba
...
...
@@ -579,8 +579,27 @@ MSVCP_bool __thiscall locale_operator_not_equal(const locale *this, locale const
DEFINE_THISCALL_WRAPPER
(
locale__Addfac
,
16
)
locale
*
__thiscall
locale__Addfac
(
locale
*
this
,
locale_facet
*
facet
,
MSVCP_size_t
id
,
MSVCP_size_t
catmask
)
{
FIXME
(
"(%p %p %lu %lu) stub
\n
"
,
this
,
facet
,
id
,
catmask
);
return
NULL
;
TRACE
(
"(%p %p %lu %lu)
\n
"
,
this
,
facet
,
id
,
catmask
);
if
(
this
->
ptr
->
facet
.
refs
>
1
)
{
locale__Locimp
*
new_ptr
=
MSVCRT_operator_new
(
sizeof
(
locale__Locimp
));
if
(
!
new_ptr
)
{
ERR
(
"Out of memory
\n
"
);
throw_exception
(
EXCEPTION_BAD_ALLOC
,
NULL
);
return
NULL
;
}
locale__Locimp_copy_ctor
(
new_ptr
,
this
->
ptr
);
locale_facet__Decref
(
&
this
->
ptr
->
facet
);
this
->
ptr
=
new_ptr
;
}
locale__Locimp__Addfac
(
this
->
ptr
,
facet
,
id
);
if
(
catmask
)
{
MSVCP_basic_string_char_dtor
(
&
this
->
ptr
->
name
);
MSVCP_basic_string_char_ctor_cstr
(
&
this
->
ptr
->
name
,
"*"
);
}
return
this
;
}
/* ?_Getfacet@locale@std@@QBEPBVfacet@12@I@Z */
...
...
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