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
05a70c3d
Commit
05a70c3d
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 ios_base structure globally.
parent
95ec1f07
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
87 additions
and
86 deletions
+87
-86
ios.c
dlls/msvcp90/ios.c
+0
-86
locale.c
dlls/msvcp90/locale.c
+0
-0
msvcp90.h
dlls/msvcp90/msvcp90.h
+87
-0
No files found.
dlls/msvcp90/ios.c
View file @
05a70c3d
...
@@ -29,97 +29,11 @@
...
@@ -29,97 +29,11 @@
#include "wine/debug.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
msvcp90
);
WINE_DEFAULT_DEBUG_CHANNEL
(
msvcp90
);
typedef
enum
{
IOSTATE_goodbit
=
0x00
,
IOSTATE_eofbit
=
0x01
,
IOSTATE_failbit
=
0x02
,
IOSTATE_badbit
=
0x04
,
IOSTATE__Hardfail
=
0x10
,
IOSTATE_mask
=
0x17
}
IOSB_iostate
;
typedef
enum
{
FMTFLAG_skipws
=
0x0001
,
FMTFLAG_unitbuf
=
0x0002
,
FMTFLAG_uppercase
=
0x0004
,
FMTFLAG_showbase
=
0x0008
,
FMTFLAG_showpoint
=
0x0010
,
FMTFLAG_showpos
=
0x0020
,
FMTFLAG_left
=
0x0040
,
FMTFLAG_right
=
0x0080
,
FMTFLAG_internal
=
0x0100
,
FMTFLAG_dec
=
0x0200
,
FMTFLAG_oct
=
0x0400
,
FMTFLAG_hex
=
0x0800
,
FMTFLAG_scientific
=
0x1000
,
FMTFLAG_fixed
=
0x2000
,
FMTFLAG_hexfloat
=
0x3000
,
FMTFLAG_boolalpha
=
0x4000
,
FMTFLAG_stdio
=
0x8000
,
FMTFLAG_adjustfield
=
FMTFLAG_left
|
FMTFLAG_right
|
FMTFLAG_internal
,
FMTFLAG_basefield
=
FMTFLAG_dec
|
FMTFLAG_oct
|
FMTFLAG_hex
,
FMTFLAG_floadfield
=
FMTFLAG_scientific
|
FMTFLAG_fixed
,
FMTFLAG_mask
=
0xffff
}
IOSB_fmtflags
;
typedef
enum
{
OPENMODE_in
=
0x01
,
OPENMODE_out
=
0x02
,
OPENMODE_ate
=
0x04
,
OPENMODE_app
=
0x08
,
OPENMODE_trunc
=
0x10
,
OPENMODE__Nocreate
=
0x40
,
OPENMODE__Noreplace
=
0x80
,
OPENMODE_binary
=
0x20
,
OPENMODE_mask
=
0xff
}
IOSB_openmode
;
typedef
enum
{
SEEKDIR_beg
=
0x1
,
SEEKDIR_cur
=
0x2
,
SEEKDIR_end
=
0x3
,
SEEKDIR_mask
=
0x3
}
IOSB_seekdir
;
typedef
struct
_iosarray
{
struct
_iosarray
*
next
;
int
index
;
int
long_val
;
void
*
ptr_val
;
}
IOS_BASE_iosarray
;
typedef
enum
{
EVENT_erase_event
,
EVENT_imbue_event
,
EVENT_copyfmt_event
}
IOS_BASE_event
;
struct
_ios_base
;
typedef
void
(
CDECL
*
IOS_BASE_event_callback
)(
IOS_BASE_event
,
struct
_ios_base
*
,
int
);
typedef
struct
_fnarray
{
struct
_fnarray
*
next
;
int
index
;
IOS_BASE_event_callback
event_handler
;
}
IOS_BASE_fnarray
;
/* ?_Index@ios_base@std@@0HA */
/* ?_Index@ios_base@std@@0HA */
int
ios_base_Index
=
0
;
int
ios_base_Index
=
0
;
/* ?_Sync@ios_base@std@@0_NA */
/* ?_Sync@ios_base@std@@0_NA */
MSVCP_bool
ios_base_Sync
=
FALSE
;
MSVCP_bool
ios_base_Sync
=
FALSE
;
typedef
struct
_ios_base
{
const
vtable_ptr
*
vtable
;
MSVCP_size_t
stdstr
;
IOSB_iostate
state
;
IOSB_iostate
except
;
IOSB_fmtflags
fmtfl
;
streamsize
prec
;
streamsize
wide
;
IOS_BASE_iosarray
*
arr
;
IOS_BASE_fnarray
*
calls
;
locale
*
loc
;
}
ios_base
;
typedef
struct
{
typedef
struct
{
streamoff
off
;
streamoff
off
;
__int64
DECLSPEC_ALIGN
(
8
)
pos
;
__int64
DECLSPEC_ALIGN
(
8
)
pos
;
...
...
dlls/msvcp90/locale.c
View file @
05a70c3d
This diff is collapsed.
Click to expand it.
dlls/msvcp90/msvcp90.h
View file @
05a70c3d
...
@@ -397,5 +397,92 @@ void __thiscall mutex_dtor(mutex*);
...
@@ -397,5 +397,92 @@ void __thiscall mutex_dtor(mutex*);
void
__thiscall
mutex_lock
(
mutex
*
);
void
__thiscall
mutex_lock
(
mutex
*
);
void
__thiscall
mutex_unlock
(
mutex
*
);
void
__thiscall
mutex_unlock
(
mutex
*
);
typedef
enum
{
FMTFLAG_skipws
=
0x0001
,
FMTFLAG_unitbuf
=
0x0002
,
FMTFLAG_uppercase
=
0x0004
,
FMTFLAG_showbase
=
0x0008
,
FMTFLAG_showpoint
=
0x0010
,
FMTFLAG_showpos
=
0x0020
,
FMTFLAG_left
=
0x0040
,
FMTFLAG_right
=
0x0080
,
FMTFLAG_internal
=
0x0100
,
FMTFLAG_dec
=
0x0200
,
FMTFLAG_oct
=
0x0400
,
FMTFLAG_hex
=
0x0800
,
FMTFLAG_scientific
=
0x1000
,
FMTFLAG_fixed
=
0x2000
,
FMTFLAG_hexfloat
=
0x3000
,
FMTFLAG_boolalpha
=
0x4000
,
FMTFLAG_stdio
=
0x8000
,
FMTFLAG_adjustfield
=
FMTFLAG_left
|
FMTFLAG_right
|
FMTFLAG_internal
,
FMTFLAG_basefield
=
FMTFLAG_dec
|
FMTFLAG_oct
|
FMTFLAG_hex
,
FMTFLAG_floadfield
=
FMTFLAG_scientific
|
FMTFLAG_fixed
,
FMTFLAG_mask
=
0xffff
}
IOSB_fmtflags
;
typedef
enum
{
OPENMODE_in
=
0x01
,
OPENMODE_out
=
0x02
,
OPENMODE_ate
=
0x04
,
OPENMODE_app
=
0x08
,
OPENMODE_trunc
=
0x10
,
OPENMODE__Nocreate
=
0x40
,
OPENMODE__Noreplace
=
0x80
,
OPENMODE_binary
=
0x20
,
OPENMODE_mask
=
0xff
}
IOSB_openmode
;
typedef
enum
{
SEEKDIR_beg
=
0x1
,
SEEKDIR_cur
=
0x2
,
SEEKDIR_end
=
0x3
,
SEEKDIR_mask
=
0x3
}
IOSB_seekdir
;
typedef
enum
{
IOSTATE_goodbit
=
0x00
,
IOSTATE_eofbit
=
0x01
,
IOSTATE_failbit
=
0x02
,
IOSTATE_badbit
=
0x04
,
IOSTATE__Hardfail
=
0x10
,
IOSTATE_mask
=
0x17
}
IOSB_iostate
;
typedef
struct
_iosarray
{
struct
_iosarray
*
next
;
int
index
;
int
long_val
;
void
*
ptr_val
;
}
IOS_BASE_iosarray
;
typedef
enum
{
EVENT_erase_event
,
EVENT_imbue_event
,
EVENT_copyfmt_event
}
IOS_BASE_event
;
struct
_ios_base
;
typedef
void
(
CDECL
*
IOS_BASE_event_callback
)(
IOS_BASE_event
,
struct
_ios_base
*
,
int
);
typedef
struct
_fnarray
{
struct
_fnarray
*
next
;
int
index
;
IOS_BASE_event_callback
event_handler
;
}
IOS_BASE_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
;
streamsize
prec
;
streamsize
wide
;
IOS_BASE_iosarray
*
arr
;
IOS_BASE_fnarray
*
calls
;
locale
*
loc
;
}
ios_base
;
void
init_io
(
void
);
void
init_io
(
void
);
void
free_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