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
237cc950
Commit
237cc950
authored
Jun 21, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Define basic_streambuf structure globally.
parent
05a70c3d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
38 deletions
+40
-38
ios.c
dlls/msvcp90/ios.c
+0
-36
locale.c
dlls/msvcp90/locale.c
+2
-2
msvcp90.h
dlls/msvcp90/msvcp90.h
+38
-0
No files found.
dlls/msvcp90/ios.c
View file @
237cc950
...
...
@@ -50,42 +50,6 @@ typedef struct {
streamsize
arg
;
}
manip_streamsize
;
typedef
struct
{
const
vtable_ptr
*
vtable
;
mutex
lock
;
char
*
rbuf
;
char
*
wbuf
;
char
**
prbuf
;
char
**
pwbuf
;
char
*
rpos
;
char
*
wpos
;
char
**
prpos
;
char
**
pwpos
;
int
rsize
;
int
wsize
;
int
*
prsize
;
int
*
pwsize
;
locale
*
loc
;
}
basic_streambuf_char
;
typedef
struct
{
const
vtable_ptr
*
vtable
;
mutex
lock
;
wchar_t
*
rbuf
;
wchar_t
*
wbuf
;
wchar_t
**
prbuf
;
wchar_t
**
pwbuf
;
wchar_t
*
rpos
;
wchar_t
*
wpos
;
wchar_t
**
prpos
;
wchar_t
**
pwpos
;
int
rsize
;
int
wsize
;
int
*
prsize
;
int
*
pwsize
;
locale
*
loc
;
}
basic_streambuf_wchar
;
typedef
enum
{
INITFL_new
=
0
,
INITFL_open
=
1
,
...
...
dlls/msvcp90/locale.c
View file @
237cc950
...
...
@@ -104,14 +104,14 @@ typedef struct {
typedef
struct
_istreambuf_iterator_char
{
struct
_
basic_streambuf_char
*
strbuf
;
basic_streambuf_char
*
strbuf
;
MSVCP_bool
got
;
char
val
;
}
istreambuf_iterator_char
;
typedef
struct
_istreambuf_iterator_wchar
{
struct
_
basic_streambuf_wchar
*
strbuf
;
basic_streambuf_wchar
*
strbuf
;
MSVCP_bool
got
;
wchar_t
val
;
}
istreambuf_iterator_wchar
;
...
...
dlls/msvcp90/msvcp90.h
View file @
237cc950
...
...
@@ -484,5 +484,43 @@ typedef struct _ios_base {
locale
*
loc
;
}
ios_base
;
/* class basic_streambuf<char> */
typedef
struct
{
const
vtable_ptr
*
vtable
;
mutex
lock
;
char
*
rbuf
;
char
*
wbuf
;
char
**
prbuf
;
char
**
pwbuf
;
char
*
rpos
;
char
*
wpos
;
char
**
prpos
;
char
**
pwpos
;
int
rsize
;
int
wsize
;
int
*
prsize
;
int
*
pwsize
;
locale
*
loc
;
}
basic_streambuf_char
;
/* class basic_streambuf<wchar> */
typedef
struct
{
const
vtable_ptr
*
vtable
;
mutex
lock
;
wchar_t
*
rbuf
;
wchar_t
*
wbuf
;
wchar_t
**
prbuf
;
wchar_t
**
pwbuf
;
wchar_t
*
rpos
;
wchar_t
*
wpos
;
wchar_t
**
prpos
;
wchar_t
**
pwpos
;
int
rsize
;
int
wsize
;
int
*
prsize
;
int
*
pwsize
;
locale
*
loc
;
}
basic_streambuf_wchar
;
void
init_io
(
void
);
void
free_io
(
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