Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
48ce9f9e
Commit
48ce9f9e
authored
Aug 24, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added locale::id class implementation.
parent
553a093f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
13 deletions
+29
-13
locale.c
dlls/msvcp90/locale.c
+21
-8
misc.c
dlls/msvcp90/misc.c
+0
-5
msvcp90.h
dlls/msvcp90/msvcp90.h
+8
-0
No files found.
dlls/msvcp90/locale.c
View file @
48ce9f9e
...
...
@@ -91,8 +91,10 @@ static const vtable_ptr MSVCP_locale_facet_vtable[];
DEFINE_THISCALL_WRAPPER
(
locale_id_ctor_id
,
8
)
locale_id
*
__thiscall
locale_id_ctor_id
(
locale_id
*
this
,
MSVCP_size_t
id
)
{
FIXME
(
"(%p %lu) stub
\n
"
,
this
,
id
);
return
NULL
;
TRACE
(
"(%p %lu)
\n
"
,
this
,
id
);
this
->
id
=
id
;
return
this
;
}
/* ??_Fid@locale@std@@QAEXXZ */
...
...
@@ -100,8 +102,10 @@ locale_id* __thiscall locale_id_ctor_id(locale_id *this, MSVCP_size_t id)
DEFINE_THISCALL_WRAPPER
(
locale_id_ctor
,
4
)
locale_id
*
__thiscall
locale_id_ctor
(
locale_id
*
this
)
{
FIXME
(
"(%p) stub
\n
"
,
this
);
return
NULL
;
TRACE
(
"(%p)
\n
"
,
this
);
this
->
id
=
0
;
return
this
;
}
/* ??Bid@locale@std@@QAEIXZ */
...
...
@@ -109,16 +113,25 @@ locale_id* __thiscall locale_id_ctor(locale_id *this)
DEFINE_THISCALL_WRAPPER
(
locale_id_operator_size_t
,
4
)
MSVCP_size_t
__thiscall
locale_id_operator_size_t
(
locale_id
*
this
)
{
FIXME
(
"(%p) stub
\n
"
,
this
);
return
0
;
_Lockit
lock
;
TRACE
(
"(%p)
\n
"
,
this
);
if
(
!
this
->
id
)
{
_Lockit_ctor_locktype
(
&
lock
,
_LOCK_LOCALE
);
this
->
id
=
++
locale_id__Id_cnt
;
_Lockit_dtor
(
&
lock
);
}
return
this
->
id
;
}
/* ?_Id_cnt_func@id@locale@std@@CAAAHXZ */
/* ?_Id_cnt_func@id@locale@std@@CAAEAHXZ */
int
*
__cdecl
locale_id__Id_cnt_func
(
void
)
{
FIXME
(
"stub
\n
"
);
return
NULL
;
TRACE
(
"
\n
"
);
return
&
locale_id__Id_cnt
;
}
/* ??_Ffacet@locale@std@@QAEXXZ */
...
...
dlls/msvcp90/misc.c
View file @
48ce9f9e
...
...
@@ -87,11 +87,6 @@ void CDECL mutex_mutex_dtor(mutex *m)
mutex_dtor
(
m
);
}
#define _LOCK_LOCALE 0
#define _LOCK_MALLOC 1
#define _LOCK_STREAM 2
#define _LOCK_DEBUG 3
#define _MAX_LOCK 4
static
CRITICAL_SECTION
lockit_cs
[
_MAX_LOCK
];
/* ?_Lockit_ctor@_Lockit@std@@SAXH@Z */
...
...
dlls/msvcp90/msvcp90.h
View file @
48ce9f9e
...
...
@@ -200,8 +200,16 @@ typedef struct {
int
locktype
;
}
_Lockit
;
#define _LOCK_LOCALE 0
#define _LOCK_MALLOC 1
#define _LOCK_STREAM 2
#define _LOCK_DEBUG 3
#define _MAX_LOCK 4
void
init_lockit
(
void
);
void
free_lockit
(
void
);
_Lockit
*
__thiscall
_Lockit_ctor_locktype
(
_Lockit
*
,
int
);
void
__thiscall
_Lockit_dtor
(
_Lockit
*
);
/* class mutex */
typedef
struct
{
...
...
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