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
6b6dc42d
Commit
6b6dc42d
authored
Jun 09, 2015
by
Iván Matellanes
Committed by
Alexandre Julliard
Jun 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcirt: Add implementation of streambuf::seekoff/seekpos.
parent
1f1cf8a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
msvcirt.c
dlls/msvcirt/msvcirt.c
+5
-4
msvcirt.h
dlls/msvcirt/msvcirt.h
+6
-0
No files found.
dlls/msvcirt/msvcirt.c
View file @
6b6dc42d
...
...
@@ -354,9 +354,10 @@ int __thiscall streambuf_pbackfail(streambuf *this, int c)
/* ?seekoff@streambuf@@UAEJJW4seek_dir@ios@@H@Z */
/* ?seekoff@streambuf@@UEAAJJW4seek_dir@ios@@H@Z */
DEFINE_THISCALL_WRAPPER
(
streambuf_seekoff
,
16
)
streampos
__thiscall
streambuf_seekoff
(
streambuf
*
this
,
streamoff
offset
,
int
dir
,
int
mode
)
#define call_streambuf_seekoff(this, off, dir, mode) CALL_VTBL_FUNC(this, 12, streampos, (streambuf*, streamoff, ios_seek_dir, int), (this, off, dir, mode))
streampos
__thiscall
streambuf_seekoff
(
streambuf
*
this
,
streamoff
offset
,
ios_seek_dir
dir
,
int
mode
)
{
FIXME
(
"(%p %d %d %d): stub
\n
"
,
this
,
offset
,
dir
,
mode
);
TRACE
(
"(%p %d %d %d)
\n
"
,
this
,
offset
,
dir
,
mode
);
return
EOF
;
}
...
...
@@ -365,8 +366,8 @@ streampos __thiscall streambuf_seekoff(streambuf *this, streamoff offset, int di
DEFINE_THISCALL_WRAPPER
(
streambuf_seekpos
,
12
)
streampos
__thiscall
streambuf_seekpos
(
streambuf
*
this
,
streampos
pos
,
int
mode
)
{
FIXME
(
"(%p %d %d): stub
\n
"
,
this
,
pos
,
mode
);
return
EOF
;
TRACE
(
"(%p %d %d)
\n
"
,
this
,
pos
,
mode
);
return
call_streambuf_seekoff
(
this
,
pos
,
SEEKDIR_beg
,
mode
)
;
}
/* ?setb@streambuf@@IAEXPAD0H@Z */
...
...
dlls/msvcirt/msvcirt.h
View file @
6b6dc42d
...
...
@@ -23,6 +23,12 @@
typedef
LONG
streamoff
;
typedef
LONG
streampos
;
typedef
enum
{
SEEKDIR_beg
=
0
,
SEEKDIR_cur
=
1
,
SEEKDIR_end
=
2
}
ios_seek_dir
;
extern
void
*
(
__cdecl
*
MSVCRT_operator_new
)(
SIZE_T
);
extern
void
(
__cdecl
*
MSVCRT_operator_delete
)(
void
*
);
...
...
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