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
d8d963a9
Commit
d8d963a9
authored
Feb 03, 2011
by
Huw Davies
Committed by
Alexandre Julliard
Feb 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Don't dereference if the referenced type is a user type.
parent
604350be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
typegen.c
tools/widl/typegen.c
+6
-2
No files found.
tools/widl/typegen.c
View file @
d8d963a9
...
@@ -1520,8 +1520,12 @@ static unsigned int write_nonsimple_pointer(FILE *file, const attr_list_t *attrs
...
@@ -1520,8 +1520,12 @@ static unsigned int write_nonsimple_pointer(FILE *file, const attr_list_t *attrs
if
(
out_attr
&&
!
in_attr
&&
pointer_type
==
RPC_FC_RP
)
if
(
out_attr
&&
!
in_attr
&&
pointer_type
==
RPC_FC_RP
)
flags
|=
RPC_FC_P_ONSTACK
;
flags
|=
RPC_FC_P_ONSTACK
;
if
(
is_ptr
(
type
)
&&
is_declptr
(
type_pointer_get_ref
(
type
)))
if
(
is_ptr
(
type
))
flags
|=
RPC_FC_P_DEREF
;
{
type_t
*
ref
=
type_pointer_get_ref
(
type
);
if
(
is_declptr
(
ref
)
&&
!
is_user_type
(
ref
))
flags
|=
RPC_FC_P_DEREF
;
}
print_file
(
file
,
2
,
"0x%x, 0x%x,
\t\t
/* %s"
,
print_file
(
file
,
2
,
"0x%x, 0x%x,
\t\t
/* %s"
,
pointer_type
,
pointer_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