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
5b1ee41d
Commit
5b1ee41d
authored
Oct 17, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Oct 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp60: Fixed basic_stringbuf class structure.
parent
1b6dfafc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
ios.c
dlls/msvcp60/ios.c
+4
-5
msvcp.h
dlls/msvcp60/msvcp.h
+0
-1
No files found.
dlls/msvcp60/ios.c
View file @
5b1ee41d
...
@@ -91,14 +91,18 @@ typedef enum {
...
@@ -91,14 +91,18 @@ typedef enum {
typedef
struct
{
typedef
struct
{
basic_streambuf_char
base
;
basic_streambuf_char
base
;
char
*
pendsave
;
char
*
seekhigh
;
char
*
seekhigh
;
int
alsize
;
int
state
;
int
state
;
char
allocator
;
/* empty struct */
char
allocator
;
/* empty struct */
}
basic_stringbuf_char
;
}
basic_stringbuf_char
;
typedef
struct
{
typedef
struct
{
basic_streambuf_wchar
base
;
basic_streambuf_wchar
base
;
wchar_t
*
pendsave
;
wchar_t
*
seekhigh
;
wchar_t
*
seekhigh
;
int
alsize
;
int
state
;
int
state
;
char
allocator
;
/* empty struct */
char
allocator
;
/* empty struct */
}
basic_stringbuf_wchar
;
}
basic_stringbuf_wchar
;
...
@@ -884,7 +888,6 @@ basic_streambuf_char* __thiscall basic_streambuf_char_ctor_uninitialized(basic_s
...
@@ -884,7 +888,6 @@ basic_streambuf_char* __thiscall basic_streambuf_char_ctor_uninitialized(basic_s
{
{
TRACE
(
"(%p %d)
\n
"
,
this
,
uninitialized
);
TRACE
(
"(%p %d)
\n
"
,
this
,
uninitialized
);
this
->
vtable
=
&
MSVCP_basic_streambuf_char_vtable
;
this
->
vtable
=
&
MSVCP_basic_streambuf_char_vtable
;
mutex_ctor
(
&
this
->
lock
);
return
this
;
return
this
;
}
}
...
@@ -896,7 +899,6 @@ basic_streambuf_char* __thiscall basic_streambuf_char_ctor(basic_streambuf_char
...
@@ -896,7 +899,6 @@ basic_streambuf_char* __thiscall basic_streambuf_char_ctor(basic_streambuf_char
TRACE
(
"(%p)
\n
"
,
this
);
TRACE
(
"(%p)
\n
"
,
this
);
this
->
vtable
=
&
MSVCP_basic_streambuf_char_vtable
;
this
->
vtable
=
&
MSVCP_basic_streambuf_char_vtable
;
mutex_ctor
(
&
this
->
lock
);
this
->
loc
=
MSVCRT_operator_new
(
sizeof
(
locale
));
this
->
loc
=
MSVCRT_operator_new
(
sizeof
(
locale
));
locale_ctor
(
this
->
loc
);
locale_ctor
(
this
->
loc
);
basic_streambuf_char__Init_empty
(
this
);
basic_streambuf_char__Init_empty
(
this
);
...
@@ -911,7 +913,6 @@ void __thiscall basic_streambuf_char_dtor(basic_streambuf_char *this)
...
@@ -911,7 +913,6 @@ void __thiscall basic_streambuf_char_dtor(basic_streambuf_char *this)
{
{
TRACE
(
"(%p)
\n
"
,
this
);
TRACE
(
"(%p)
\n
"
,
this
);
mutex_dtor
(
&
this
->
lock
);
locale_dtor
(
this
->
loc
);
locale_dtor
(
this
->
loc
);
MSVCRT_operator_delete
(
this
->
loc
);
MSVCRT_operator_delete
(
this
->
loc
);
}
}
...
@@ -995,7 +996,6 @@ void __thiscall basic_streambuf_char__Init(basic_streambuf_char *this, char **gf
...
@@ -995,7 +996,6 @@ void __thiscall basic_streambuf_char__Init(basic_streambuf_char *this, char **gf
static
void
basic_streambuf_char__Lock
(
basic_streambuf_char
*
this
)
static
void
basic_streambuf_char__Lock
(
basic_streambuf_char
*
this
)
{
{
TRACE
(
"(%p)
\n
"
,
this
);
TRACE
(
"(%p)
\n
"
,
this
);
mutex_lock
(
&
this
->
lock
);
}
}
/* ?_Pnavail@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEHXZ */
/* ?_Pnavail@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEHXZ */
...
@@ -1092,7 +1092,6 @@ static streamsize basic_streambuf_char__Sgetn_s(basic_streambuf_char *this, char
...
@@ -1092,7 +1092,6 @@ static streamsize basic_streambuf_char__Sgetn_s(basic_streambuf_char *this, char
static
void
basic_streambuf_char__Unlock
(
basic_streambuf_char
*
this
)
static
void
basic_streambuf_char__Unlock
(
basic_streambuf_char
*
this
)
{
{
TRACE
(
"(%p)
\n
"
,
this
);
TRACE
(
"(%p)
\n
"
,
this
);
mutex_unlock
(
&
this
->
lock
);
}
}
/* ?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ */
/* ?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ */
...
...
dlls/msvcp60/msvcp.h
View file @
5b1ee41d
...
@@ -290,7 +290,6 @@ typedef struct _ios_base {
...
@@ -290,7 +290,6 @@ typedef struct _ios_base {
/* class basic_streambuf<char> */
/* class basic_streambuf<char> */
typedef
struct
{
typedef
struct
{
const
vtable_ptr
*
vtable
;
const
vtable_ptr
*
vtable
;
mutex
lock
;
char
*
rbuf
;
char
*
rbuf
;
char
*
wbuf
;
char
*
wbuf
;
char
**
prbuf
;
char
**
prbuf
;
...
...
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