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
e9b51093
Commit
e9b51093
authored
Sep 06, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added locale_ctor_locale_locale implementation.
parent
225cab98
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
4 deletions
+34
-4
locale.c
dlls/msvcp100/locale.c
+17
-2
locale.c
dlls/msvcp90/locale.c
+17
-2
No files found.
dlls/msvcp100/locale.c
View file @
e9b51093
...
...
@@ -8104,8 +8104,23 @@ locale__Locimp* __cdecl locale__Init(void)
DEFINE_THISCALL_WRAPPER
(
locale_ctor_locale_locale
,
16
)
locale
*
__thiscall
locale_ctor_locale_locale
(
locale
*
this
,
const
locale
*
loc
,
const
locale
*
other
,
category
cat
)
{
FIXME
(
"(%p %p %p %d) stub
\n
"
,
this
,
loc
,
other
,
cat
);
return
NULL
;
_Locinfo
locinfo
;
TRACE
(
"(%p %p %p %d)
\n
"
,
this
,
loc
,
other
,
cat
);
this
->
ptr
=
MSVCRT_operator_new
(
sizeof
(
locale__Locimp
));
if
(
!
this
->
ptr
)
{
ERR
(
"Out of memory
\n
"
);
throw_exception
(
EXCEPTION_BAD_ALLOC
,
NULL
);
}
locale__Locimp_copy_ctor
(
this
->
ptr
,
loc
->
ptr
);
_Locinfo_ctor_cat_cstr
(
&
locinfo
,
loc
->
ptr
->
catmask
,
MSVCP_basic_string_char_c_str
(
&
loc
->
ptr
->
name
));
_Locinfo__Addcats
(
&
locinfo
,
cat
&
other
->
ptr
->
catmask
,
MSVCP_basic_string_char_c_str
(
&
other
->
ptr
->
name
));
locale__Locimp__Makeloc
(
&
locinfo
,
cat
,
this
->
ptr
,
other
);
_Locinfo_dtor
(
&
locinfo
);
return
this
;
}
/* ??0locale@std@@QAE@ABV01@@Z */
...
...
dlls/msvcp90/locale.c
View file @
e9b51093
...
...
@@ -8255,8 +8255,23 @@ locale__Locimp* __cdecl locale__Init(void)
DEFINE_THISCALL_WRAPPER
(
locale_ctor_locale_locale
,
16
)
locale
*
__thiscall
locale_ctor_locale_locale
(
locale
*
this
,
const
locale
*
loc
,
const
locale
*
other
,
category
cat
)
{
FIXME
(
"(%p %p %p %d) stub
\n
"
,
this
,
loc
,
other
,
cat
);
return
NULL
;
_Locinfo
locinfo
;
TRACE
(
"(%p %p %p %d)
\n
"
,
this
,
loc
,
other
,
cat
);
this
->
ptr
=
MSVCRT_operator_new
(
sizeof
(
locale__Locimp
));
if
(
!
this
->
ptr
)
{
ERR
(
"Out of memory
\n
"
);
throw_exception
(
EXCEPTION_BAD_ALLOC
,
NULL
);
}
locale__Locimp_copy_ctor
(
this
->
ptr
,
loc
->
ptr
);
_Locinfo_ctor_cat_cstr
(
&
locinfo
,
loc
->
ptr
->
catmask
,
MSVCP_basic_string_char_c_str
(
&
loc
->
ptr
->
name
));
_Locinfo__Addcats
(
&
locinfo
,
cat
&
other
->
ptr
->
catmask
,
MSVCP_basic_string_char_c_str
(
&
other
->
ptr
->
name
));
locale__Locimp__Makeloc
(
&
locinfo
,
cat
,
this
->
ptr
,
other
);
_Locinfo_dtor
(
&
locinfo
);
return
this
;
}
/* ??0locale@std@@QAE@ABV01@@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