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
7fcffc7b
Commit
7fcffc7b
authored
Jun 15, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added setprecision implementation.
parent
c2c9e9ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
2 deletions
+23
-2
ios.c
dlls/msvcp90/ios.c
+21
-0
msvcp90.spec
dlls/msvcp90/msvcp90.spec
+2
-2
No files found.
dlls/msvcp90/ios.c
View file @
7fcffc7b
...
...
@@ -132,6 +132,11 @@ static inline const char* debugstr_fpos_int(fpos_int *fpos)
}
typedef
struct
{
void
(
__cdecl
*
pfunc
)(
ios_base
*
,
streamsize
);
streamsize
arg
;
}
manip_streamsize
;
typedef
struct
{
const
vtable_ptr
*
vtable
;
mutex
lock
;
char
*
rbuf
;
...
...
@@ -5541,6 +5546,22 @@ basic_filebuf_char* __thiscall basic_fstream_char_rdbuf(const basic_fstream_char
return
(
basic_filebuf_char
*
)
&
this
->
filebuf
;
}
static
void
__cdecl
setprecision_func
(
ios_base
*
base
,
streamsize
prec
)
{
ios_base_precision_set
(
base
,
prec
);
}
/* ?setprecision@std@@YA?AU?$_Smanip@H@1@H@Z */
/* ?setprecision@std@@YA?AU?$_Smanip@_J@1@_J@Z */
manip_streamsize
*
__cdecl
setprecision
(
manip_streamsize
*
ret
,
streamsize
prec
)
{
TRACE
(
"(%p %ld)
\n
"
,
ret
,
prec
);
ret
->
pfunc
=
setprecision_func
;
ret
->
arg
=
prec
;
return
ret
;
}
static
basic_filebuf_char
filebuf_stdin
;
/* ?cin@std@@3V?$basic_istream@DU?$char_traits@D@std@@@1@A */
struct
{
...
...
dlls/msvcp90/msvcp90.spec
View file @
7fcffc7b
...
...
@@ -5348,8 +5348,8 @@
@ cdecl -arch=win64 ?setp@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@IEAAXPEA_W00@Z(ptr ptr ptr ptr) basic_streambuf_wchar_setp_next
@ thiscall -arch=win32 ?setp@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@IAEXPA_W0@Z(ptr ptr ptr) basic_streambuf_wchar_setp
@ cdecl -arch=win64 ?setp@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@IEAAXPEA_W0@Z(ptr ptr ptr) basic_streambuf_wchar_setp
@
stub -arch=win32 ?setprecision@std@@YA?AU?$_Smanip@H@1@H@Z
@
stub -arch=win64 ?setprecision@std@@YA?AU?$_Smanip@_J@1@_J@Z
@
cdecl -arch=win32 ?setprecision@std@@YA?AU?$_Smanip@H@1@H@Z(ptr long) setprecision
@
cdecl -arch=win64 ?setprecision@std@@YA?AU?$_Smanip@_J@1@_J@Z(ptr long) setprecision
@ thiscall -arch=win32 ?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z(ptr long long) basic_ios_char_setstate_reraise
@ cdecl -arch=win64 ?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QEAAXH_N@Z(ptr long long) basic_ios_char_setstate_reraise
@ thiscall -arch=win32 ?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXI@Z(ptr long) basic_ios_char_setstate
...
...
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