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
a3c395b7
Commit
a3c395b7
authored
Nov 23, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added empty locale constructor and destructor implementation.
parent
b7b0c1b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
locale.c
dlls/msvcp90/locale.c
+13
-4
msvcp90.h
dlls/msvcp90/msvcp90.h
+1
-1
No files found.
dlls/msvcp90/locale.c
View file @
a3c395b7
...
...
@@ -491,8 +491,16 @@ locale* __thiscall locale_ctor_uninitialized(locale *this, int uninitialized)
DEFINE_THISCALL_WRAPPER
(
locale_ctor
,
4
)
locale
*
__thiscall
locale_ctor
(
locale
*
this
)
{
FIXME
(
"(%p) stub
\n
"
,
this
);
return
NULL
;
TRACE
(
"(%p)
\n
"
,
this
);
this
->
ptr
=
MSVCRT_operator_new
(
sizeof
(
locale__Locimp
));
if
(
!
this
->
ptr
)
{
ERR
(
"Out of memory
\n
"
);
throw_exception
(
EXCEPTION_BAD_ALLOC
,
NULL
);
return
NULL
;
}
locale__Locimp_ctor
(
this
->
ptr
);
return
this
;
}
/* ??1locale@std@@QAE@XZ */
...
...
@@ -500,13 +508,14 @@ locale* __thiscall locale_ctor(locale *this)
DEFINE_THISCALL_WRAPPER
(
locale_dtor
,
4
)
void
__thiscall
locale_dtor
(
locale
*
this
)
{
FIXME
(
"(%p) stub
\n
"
,
this
);
TRACE
(
"(%p)
\n
"
,
this
);
locale__Locimp_dtor
(
this
->
ptr
);
}
DEFINE_THISCALL_WRAPPER
(
MSVCP_locale_vector_dtor
,
8
)
locale
*
__thiscall
MSVCP_locale_vector_dtor
(
locale
*
this
,
unsigned
int
flags
)
{
TRACE
(
"(%p %x)
stub
\n
"
,
this
,
flags
);
TRACE
(
"(%p %x)
\n
"
,
this
,
flags
);
if
(
flags
&
2
)
{
/* we have an array, with the number of elements stored before the first object */
int
i
,
*
ptr
=
(
int
*
)
this
-
1
;
...
...
dlls/msvcp90/msvcp90.h
View file @
a3c395b7
...
...
@@ -195,7 +195,7 @@ MSVCP_size_t __stdcall MSVCP_allocator_wchar_max_size(void*);
/* class locale */
typedef
struct
{
struct
locale__Locimp
*
ptr
;
struct
_
locale__Locimp
*
ptr
;
}
locale
;
locale
*
__thiscall
locale_ctor
(
locale
*
);
...
...
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