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
56425e37
Commit
56425e37
authored
Jan 19, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Don't generate proxies for oleautomation interfaces.
parent
354f97df
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
proxy.c
tools/widl/proxy.c
+5
-3
No files found.
tools/widl/proxy.c
View file @
56425e37
...
@@ -576,8 +576,6 @@ static void write_proxy(type_t *iface, unsigned int *proc_offset)
...
@@ -576,8 +576,6 @@ static void write_proxy(type_t *iface, unsigned int *proc_offset)
const
statement_t
*
stmt
;
const
statement_t
*
stmt
;
int
first_func
=
1
;
int
first_func
=
1
;
/* FIXME: check for [oleautomation], shouldn't generate proxies/stubs if specified */
STATEMENTS_FOR_EACH_FUNC
(
stmt
,
type_iface_get_stmts
(
iface
))
{
STATEMENTS_FOR_EACH_FUNC
(
stmt
,
type_iface_get_stmts
(
iface
))
{
var_t
*
func
=
stmt
->
u
.
var
;
var_t
*
func
=
stmt
->
u
.
var
;
if
(
first_func
)
{
if
(
first_func
)
{
...
@@ -701,7 +699,11 @@ static int does_any_iface(const statement_list_t *stmts, type_pred_t pred)
...
@@ -701,7 +699,11 @@ static int does_any_iface(const statement_list_t *stmts, type_pred_t pred)
int
need_proxy
(
const
type_t
*
iface
)
int
need_proxy
(
const
type_t
*
iface
)
{
{
return
is_object
(
iface
)
&&
!
is_local
(
iface
->
attrs
);
if
(
!
is_object
(
iface
))
return
0
;
if
(
is_local
(
iface
->
attrs
))
return
0
;
if
(
is_attr
(
iface
->
attrs
,
ATTR_OLEAUTOMATION
))
return
0
;
if
(
is_attr
(
iface
->
attrs
,
ATTR_DISPINTERFACE
))
return
0
;
return
1
;
}
}
int
need_stub
(
const
type_t
*
iface
)
int
need_stub
(
const
type_t
*
iface
)
...
...
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