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
8e15db40
Commit
8e15db40
authored
Sep 06, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Don't output stubs for interfaces included in a typelib.
parent
cd7ccebb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
33 deletions
+6
-33
client.c
tools/widl/client.c
+0
-2
header.c
tools/widl/header.c
+0
-2
proxy.c
tools/widl/proxy.c
+3
-12
server.c
tools/widl/server.c
+1
-3
typegen.c
tools/widl/typegen.c
+2
-14
No files found.
tools/widl/client.c
View file @
8e15db40
...
...
@@ -472,8 +472,6 @@ static void write_client_ifaces(const statement_list_t *stmts, int expr_eval_rou
write_stubdescriptor
(
iface
,
expr_eval_routines
);
}
}
else
if
(
stmt
->
type
==
STMT_LIBRARY
)
write_client_ifaces
(
stmt
->
u
.
lib
->
stmts
,
expr_eval_routines
,
proc_offset
);
}
}
...
...
tools/widl/header.c
View file @
8e15db40
...
...
@@ -987,8 +987,6 @@ static void write_local_stubs_stmts(FILE *local_stubs, const statement_list_t *s
{
if
(
stmt
->
type
==
STMT_TYPE
&&
type_get_type
(
stmt
->
u
.
type
)
==
TYPE_INTERFACE
)
write_locals
(
local_stubs
,
stmt
->
u
.
type
,
TRUE
);
else
if
(
stmt
->
type
==
STMT_LIBRARY
)
write_local_stubs_stmts
(
local_stubs
,
stmt
->
u
.
lib
->
stmts
);
}
}
...
...
tools/widl/proxy.c
View file @
8e15db40
...
...
@@ -754,12 +754,7 @@ static int does_any_iface(const statement_list_t *stmts, type_pred_t pred)
if
(
stmts
)
LIST_FOR_EACH_ENTRY
(
stmt
,
stmts
,
const
statement_t
,
entry
)
{
if
(
stmt
->
type
==
STMT_LIBRARY
)
{
if
(
does_any_iface
(
stmt
->
u
.
lib
->
stmts
,
pred
))
return
TRUE
;
}
else
if
(
stmt
->
type
==
STMT_TYPE
&&
type_get_type
(
stmt
->
u
.
type
)
==
TYPE_INTERFACE
)
if
(
stmt
->
type
==
STMT_TYPE
&&
type_get_type
(
stmt
->
u
.
type
)
==
TYPE_INTERFACE
)
{
if
(
pred
(
stmt
->
u
.
type
))
return
TRUE
;
...
...
@@ -834,9 +829,7 @@ static void write_proxy_stmts(const statement_list_t *stmts, unsigned int *proc_
const
statement_t
*
stmt
;
if
(
stmts
)
LIST_FOR_EACH_ENTRY
(
stmt
,
stmts
,
const
statement_t
,
entry
)
{
if
(
stmt
->
type
==
STMT_LIBRARY
)
write_proxy_stmts
(
stmt
->
u
.
lib
->
stmts
,
proc_offset
);
else
if
(
stmt
->
type
==
STMT_TYPE
&&
type_get_type
(
stmt
->
u
.
type
)
==
TYPE_INTERFACE
)
if
(
stmt
->
type
==
STMT_TYPE
&&
type_get_type
(
stmt
->
u
.
type
)
==
TYPE_INTERFACE
)
{
if
(
need_proxy
(
stmt
->
u
.
type
))
write_proxy
(
stmt
->
u
.
type
,
proc_offset
);
...
...
@@ -860,9 +853,7 @@ static void build_iface_list( const statement_list_t *stmts, type_t **ifaces[],
if
(
!
stmts
)
return
;
LIST_FOR_EACH_ENTRY
(
stmt
,
stmts
,
const
statement_t
,
entry
)
{
if
(
stmt
->
type
==
STMT_LIBRARY
)
build_iface_list
(
stmt
->
u
.
lib
->
stmts
,
ifaces
,
count
);
else
if
(
stmt
->
type
==
STMT_TYPE
&&
type_get_type
(
stmt
->
u
.
type
)
==
TYPE_INTERFACE
)
if
(
stmt
->
type
==
STMT_TYPE
&&
type_get_type
(
stmt
->
u
.
type
)
==
TYPE_INTERFACE
)
{
type_t
*
iface
=
stmt
->
u
.
type
;
if
(
type_iface_get_inherit
(
iface
)
&&
need_proxy
(
iface
))
...
...
tools/widl/server.c
View file @
8e15db40
...
...
@@ -463,9 +463,7 @@ static void write_server_stmts(const statement_list_t *stmts, int expr_eval_rout
const
statement_t
*
stmt
;
if
(
stmts
)
LIST_FOR_EACH_ENTRY
(
stmt
,
stmts
,
const
statement_t
,
entry
)
{
if
(
stmt
->
type
==
STMT_LIBRARY
)
write_server_stmts
(
stmt
->
u
.
lib
->
stmts
,
expr_eval_routines
,
proc_offset
);
else
if
(
stmt
->
type
==
STMT_TYPE
&&
type_get_type
(
stmt
->
u
.
type
)
==
TYPE_INTERFACE
)
if
(
stmt
->
type
==
STMT_TYPE
&&
type_get_type
(
stmt
->
u
.
type
)
==
TYPE_INTERFACE
)
{
type_t
*
iface
=
stmt
->
u
.
type
;
if
(
!
need_stub
(
iface
))
...
...
tools/widl/typegen.c
View file @
8e15db40
...
...
@@ -1488,8 +1488,6 @@ static void write_procformatstring_stmts(FILE *file, int indent, const statement
write_procformatstring_func
(
file
,
indent
,
iface
,
func
,
offset
,
count
++
);
}
}
else
if
(
stmt
->
type
==
STMT_LIBRARY
)
write_procformatstring_stmts
(
file
,
indent
,
stmt
->
u
.
lib
->
stmts
,
pred
,
offset
);
}
}
...
...
@@ -3624,12 +3622,7 @@ static unsigned int process_tfs_stmts(FILE *file, const statement_list_t *stmts,
const
type_t
*
iface
;
const
statement_t
*
stmt_func
;
if
(
stmt
->
type
==
STMT_LIBRARY
)
{
process_tfs_stmts
(
file
,
stmt
->
u
.
lib
->
stmts
,
pred
,
typeformat_offset
);
continue
;
}
else
if
(
stmt
->
type
!=
STMT_TYPE
||
type_get_type
(
stmt
->
u
.
type
)
!=
TYPE_INTERFACE
)
if
(
stmt
->
type
!=
STMT_TYPE
||
type_get_type
(
stmt
->
u
.
type
)
!=
TYPE_INTERFACE
)
continue
;
iface
=
stmt
->
u
.
type
;
...
...
@@ -4510,12 +4503,7 @@ unsigned int get_size_procformatstring(const statement_list_t *stmts, type_pred_
const
type_t
*
iface
;
const
statement_t
*
stmt_func
;
if
(
stmt
->
type
==
STMT_LIBRARY
)
{
size
+=
get_size_procformatstring
(
stmt
->
u
.
lib
->
stmts
,
pred
)
-
1
;
continue
;
}
else
if
(
stmt
->
type
!=
STMT_TYPE
||
type_get_type
(
stmt
->
u
.
type
)
!=
TYPE_INTERFACE
)
if
(
stmt
->
type
!=
STMT_TYPE
||
type_get_type
(
stmt
->
u
.
type
)
!=
TYPE_INTERFACE
)
continue
;
iface
=
stmt
->
u
.
type
;
...
...
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