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
bff3f0cd
Commit
bff3f0cd
authored
Dec 06, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Dec 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added _Locinfo::_Addcats partial implementation.
parent
e97578e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
locale.c
dlls/msvcp90/locale.c
+23
-4
No files found.
dlls/msvcp90/locale.c
View file @
bff3f0cd
...
...
@@ -814,8 +814,28 @@ void __thiscall _Locinfo_dtor(_Locinfo *this)
/* ?_Locinfo_Addcats@_Locinfo@std@@SAAEAV12@PEAV12@HPEBD@Z */
_Locinfo
*
__cdecl
_Locinfo__Locinfo_Addcats
(
_Locinfo
*
locinfo
,
int
category
,
const
char
*
locstr
)
{
FIXME
(
"%p %d %s) stub
\n
"
,
locinfo
,
category
,
locstr
);
return
NULL
;
const
char
*
locale
=
NULL
;
/* This function is probably modifying more global objects */
FIXME
(
"(%p %d %s) semi-stub
\n
"
,
locinfo
,
category
,
locstr
);
if
(
!
locstr
)
throw_exception
(
EXCEPTION_RUNTIME_ERROR
,
"bad locale name"
);
_Lockit_ctor_locktype
(
&
locinfo
->
lock
,
_LOCK_LOCALE
);
MSVCP_basic_string_char_dtor
(
&
locinfo
->
newlocname
);
if
(
category
)
locale
=
setlocale
(
LC_ALL
,
locstr
);
else
locale
=
setlocale
(
LC_ALL
,
NULL
);
if
(
locale
)
MSVCP_basic_string_char_ctor_cstr
(
&
locinfo
->
newlocname
,
locale
);
else
MSVCP_basic_string_char_ctor_cstr
(
&
locinfo
->
newlocname
,
"*"
);
_Lockit_dtor
(
&
locinfo
->
lock
);
return
locinfo
;
}
/* ?_Addcats@_Locinfo@std@@QAEAAV12@HPBD@Z */
...
...
@@ -823,8 +843,7 @@ _Locinfo* __cdecl _Locinfo__Locinfo_Addcats(_Locinfo *locinfo, int category, con
DEFINE_THISCALL_WRAPPER
(
_Locinfo__Addcats
,
12
)
_Locinfo
*
__thiscall
_Locinfo__Addcats
(
_Locinfo
*
this
,
int
category
,
const
char
*
locstr
)
{
FIXME
(
"(%p %d %s) stub
\n
"
,
this
,
category
,
locstr
);
return
NULL
;
return
_Locinfo__Locinfo_Addcats
(
this
,
category
,
locstr
);
}
/* ?_Getcoll@_Locinfo@std@@QBE?AU_Collvec@@XZ */
...
...
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