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
bd7e690c
Commit
bd7e690c
authored
Sep 13, 2006
by
Dan Hipschman
Committed by
Alexandre Julliard
Sep 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Remove unused parameter in create_msft_typeinfo.
parent
48006f60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
14 deletions
+8
-14
write_msft.c
tools/widl/write_msft.c
+8
-14
No files found.
tools/widl/write_msft.c
View file @
bd7e690c
...
...
@@ -1727,7 +1727,7 @@ static HRESULT add_impl_type(msft_typeinfo_t *typeinfo, type_t *ref, importinfo_
}
static
msft_typeinfo_t
*
create_msft_typeinfo
(
msft_typelib_t
*
typelib
,
enum
type_kind
kind
,
const
char
*
name
,
const
attr_t
*
attr
,
int
idx
)
const
char
*
name
,
const
attr_t
*
attr
)
{
msft_typeinfo_t
*
msft_typeinfo
;
int
nameoffset
;
...
...
@@ -1905,7 +1905,7 @@ static void add_dispinterface_typeinfo(msft_typelib_t *typelib, type_t *dispinte
dispinterface
->
typelib_idx
=
typelib
->
typelib_header
.
nrtypeinfos
;
msft_typeinfo
=
create_msft_typeinfo
(
typelib
,
TKIND_DISPATCH
,
dispinterface
->
name
,
dispinterface
->
attrs
,
typelib
->
typelib_header
.
nrtypeinfos
);
dispinterface
->
attrs
);
msft_typeinfo
->
typeinfo
->
size
=
4
;
msft_typeinfo
->
typeinfo
->
typekind
|=
0x2100
;
...
...
@@ -1970,8 +1970,7 @@ static void add_interface_typeinfo(msft_typelib_t *typelib, type_t *interface)
}
interface
->
typelib_idx
=
typelib
->
typelib_header
.
nrtypeinfos
;
msft_typeinfo
=
create_msft_typeinfo
(
typelib
,
TKIND_INTERFACE
,
interface
->
name
,
interface
->
attrs
,
typelib
->
typelib_header
.
nrtypeinfos
);
msft_typeinfo
=
create_msft_typeinfo
(
typelib
,
TKIND_INTERFACE
,
interface
->
name
,
interface
->
attrs
);
msft_typeinfo
->
typeinfo
->
size
=
4
;
msft_typeinfo
->
typeinfo
->
typekind
|=
0x2200
;
...
...
@@ -2021,8 +2020,7 @@ static void add_structure_typeinfo(msft_typelib_t *typelib, type_t *structure)
return
;
structure
->
typelib_idx
=
typelib
->
typelib_header
.
nrtypeinfos
;
msft_typeinfo
=
create_msft_typeinfo
(
typelib
,
TKIND_RECORD
,
structure
->
name
,
structure
->
attrs
,
typelib
->
typelib_header
.
nrtypeinfos
);
msft_typeinfo
=
create_msft_typeinfo
(
typelib
,
TKIND_RECORD
,
structure
->
name
,
structure
->
attrs
);
msft_typeinfo
->
typeinfo
->
size
=
0
;
while
(
NEXT_LINK
(
cur
))
cur
=
NEXT_LINK
(
cur
);
...
...
@@ -2040,8 +2038,7 @@ static void add_enum_typeinfo(msft_typelib_t *typelib, type_t *enumeration)
msft_typeinfo_t
*
msft_typeinfo
;
enumeration
->
typelib_idx
=
typelib
->
typelib_header
.
nrtypeinfos
;
msft_typeinfo
=
create_msft_typeinfo
(
typelib
,
TKIND_ENUM
,
enumeration
->
name
,
enumeration
->
attrs
,
typelib
->
typelib_header
.
nrtypeinfos
);
msft_typeinfo
=
create_msft_typeinfo
(
typelib
,
TKIND_ENUM
,
enumeration
->
name
,
enumeration
->
attrs
);
msft_typeinfo
->
typeinfo
->
size
=
0
;
while
(
NEXT_LINK
(
cur
))
cur
=
NEXT_LINK
(
cur
);
...
...
@@ -2061,8 +2058,7 @@ static void add_typedef_typeinfo(msft_typelib_t *typelib, type_t *tdef)
return
;
tdef
->
typelib_idx
=
typelib
->
typelib_header
.
nrtypeinfos
;
msft_typeinfo
=
create_msft_typeinfo
(
typelib
,
TKIND_ALIAS
,
tdef
->
name
,
tdef
->
attrs
,
typelib
->
typelib_header
.
nrtypeinfos
);
msft_typeinfo
=
create_msft_typeinfo
(
typelib
,
TKIND_ALIAS
,
tdef
->
name
,
tdef
->
attrs
);
encode_type
(
typelib
,
get_type_vt
(
tdef
->
orig
),
tdef
->
orig
,
&
msft_typeinfo
->
typeinfo
->
datatype1
,
&
msft_typeinfo
->
typeinfo
->
size
,
&
alignment
,
&
msft_typeinfo
->
typeinfo
->
datatype2
);
msft_typeinfo
->
typeinfo
->
typekind
|=
(
alignment
<<
11
|
alignment
<<
6
);
...
...
@@ -2081,8 +2077,7 @@ static void add_coclass_typeinfo(msft_typelib_t *typelib, type_t *cls)
return
;
cls
->
typelib_idx
=
typelib
->
typelib_header
.
nrtypeinfos
;
msft_typeinfo
=
create_msft_typeinfo
(
typelib
,
TKIND_COCLASS
,
cls
->
name
,
cls
->
attrs
,
typelib
->
typelib_header
.
nrtypeinfos
);
msft_typeinfo
=
create_msft_typeinfo
(
typelib
,
TKIND_COCLASS
,
cls
->
name
,
cls
->
attrs
);
if
((
iref
=
cls
->
ifaces
))
{
num_ifaces
++
;
...
...
@@ -2162,8 +2157,7 @@ static void add_module_typeinfo(msft_typelib_t *typelib, type_t *module)
return
;
module
->
typelib_idx
=
typelib
->
typelib_header
.
nrtypeinfos
;
msft_typeinfo
=
create_msft_typeinfo
(
typelib
,
TKIND_MODULE
,
module
->
name
,
module
->
attrs
,
typelib
->
typelib_header
.
nrtypeinfos
);
msft_typeinfo
=
create_msft_typeinfo
(
typelib
,
TKIND_MODULE
,
module
->
name
,
module
->
attrs
);
msft_typeinfo
->
typeinfo
->
typekind
|=
0x0a00
;
if
((
func
=
module
->
funcs
))
{
...
...
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