Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
8048d04e
Commit
8048d04e
authored
Nov 14, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp60: Fixed num_get class implementataion.
parent
b999c3e3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
12 deletions
+10
-12
ios.c
dlls/msvcp60/ios.c
+7
-10
locale.c
dlls/msvcp60/locale.c
+0
-0
msvcp.h
dlls/msvcp60/msvcp.h
+3
-2
No files found.
dlls/msvcp60/ios.c
View file @
8048d04e
...
...
@@ -4054,6 +4054,7 @@ ios_base* __thiscall ios_base_ctor(ios_base *this)
{
TRACE
(
"(%p)
\n
"
,
this
);
this
->
vtable
=
&
MSVCP_ios_base_vtable
;
locale_ctor_uninitialized
(
&
this
->
loc
,
0
);
return
this
;
}
...
...
@@ -4110,10 +4111,7 @@ void CDECL ios_base_Tidy(ios_base *this)
static
void
ios_base_Ios_base_dtor
(
ios_base
*
obj
)
{
TRACE
(
"(%p)
\n
"
,
obj
);
if
(
obj
->
loc
)
{
locale_dtor
(
obj
->
loc
);
MSVCRT_operator_delete
(
obj
->
loc
);
}
locale_dtor
(
&
obj
->
loc
);
ios_base_Tidy
(
obj
);
}
...
...
@@ -4296,7 +4294,7 @@ ios_base* __thiscall ios_base_copyfmt(ios_base *this, const ios_base *rhs)
this
->
fmtfl
=
rhs
->
fmtfl
;
this
->
prec
=
rhs
->
prec
;
this
->
wide
=
rhs
->
wide
;
locale_operator_assign
(
this
->
loc
,
rhs
->
loc
);
locale_operator_assign
(
&
this
->
loc
,
&
rhs
->
loc
);
for
(
event_cur
=
rhs
->
calls
;
event_cur
;
event_cur
=
event_cur
->
next
)
ios_base_register_callback
(
this
,
event_cur
->
event_handler
,
event_cur
->
index
);
...
...
@@ -4371,8 +4369,7 @@ void __thiscall ios_base__Init(ios_base *this)
this
->
wide
=
0
;
this
->
arr
=
NULL
;
this
->
calls
=
NULL
;
this
->
loc
=
MSVCRT_operator_new
(
sizeof
(
locale
));
locale_ctor
(
this
->
loc
);
locale_ctor
(
&
this
->
loc
);
}
/* ?bad@ios_base@std@@QBE_NXZ */
...
...
@@ -4421,7 +4418,7 @@ DEFINE_THISCALL_WRAPPER(ios_base_getloc, 8)
locale
*
__thiscall
ios_base_getloc
(
const
ios_base
*
this
,
locale
*
ret
)
{
TRACE
(
"(%p)
\n
"
,
this
);
return
locale_copy_ctor
(
ret
,
this
->
loc
);
return
locale_copy_ctor
(
ret
,
&
this
->
loc
);
}
/* ?good@ios_base@std@@QBE_NXZ */
...
...
@@ -4439,8 +4436,8 @@ DEFINE_THISCALL_WRAPPER(ios_base_imbue, 12)
locale
*
__thiscall
ios_base_imbue
(
ios_base
*
this
,
locale
*
ret
,
const
locale
*
loc
)
{
TRACE
(
"(%p %p)
\n
"
,
this
,
loc
);
*
ret
=
*
this
->
loc
;
locale_copy_ctor
(
this
->
loc
,
loc
);
*
ret
=
this
->
loc
;
locale_copy_ctor
(
&
this
->
loc
,
loc
);
return
ret
;
}
...
...
dlls/msvcp60/locale.c
View file @
8048d04e
This diff is collapsed.
Click to expand it.
dlls/msvcp60/msvcp.h
View file @
8048d04e
...
...
@@ -165,6 +165,7 @@ typedef struct
locale
*
__thiscall
locale_ctor
(
locale
*
);
locale
*
__thiscall
locale_copy_ctor
(
locale
*
,
const
locale
*
);
locale
*
__thiscall
locale_ctor_uninitialized
(
locale
*
,
int
);
locale
*
__thiscall
locale_operator_assign
(
locale
*
,
const
locale
*
);
void
__thiscall
locale_dtor
(
locale
*
);
void
free_locale
(
void
);
...
...
@@ -274,7 +275,6 @@ typedef struct _fnarray {
/* class ios_base */
typedef
struct
_ios_base
{
const
vtable_ptr
*
vtable
;
MSVCP_size_t
stdstr
;
IOSB_iostate
state
;
IOSB_iostate
except
;
IOSB_fmtflags
fmtfl
;
...
...
@@ -282,7 +282,8 @@ typedef struct _ios_base {
streamsize
wide
;
IOS_BASE_iosarray
*
arr
;
IOS_BASE_fnarray
*
calls
;
locale
*
loc
;
locale
loc
;
MSVCP_size_t
stdstr
;
}
ios_base
;
/* class basic_streambuf<char> */
...
...
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