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
7841a757
Commit
7841a757
authored
Jan 23, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Fix HANDLE_PARAM_IS_RETURN flag handling.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9ede653d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
typegen.c
tools/widl/typegen.c
+4
-5
No files found.
tools/widl/typegen.c
View file @
7841a757
...
@@ -3514,8 +3514,7 @@ static unsigned int write_contexthandle_tfs(FILE *file,
...
@@ -3514,8 +3514,7 @@ static unsigned int write_contexthandle_tfs(FILE *file,
print_file
(
file
,
2
,
"0x%02x,
\t
/* FC_BIND_CONTEXT */
\n
"
,
FC_BIND_CONTEXT
);
print_file
(
file
,
2
,
"0x%02x,
\t
/* FC_BIND_CONTEXT */
\n
"
,
FC_BIND_CONTEXT
);
print_file
(
file
,
2
,
"0x%x,
\t
/* Context flags: "
,
flags
);
print_file
(
file
,
2
,
"0x%x,
\t
/* Context flags: "
,
flags
);
/* return and can't be null values overlap */
if
(
flags
&
NDR_CONTEXT_HANDLE_CANNOT_BE_NULL
)
if
(((
flags
&
0x21
)
!=
0x21
)
&&
(
flags
&
NDR_CONTEXT_HANDLE_CANNOT_BE_NULL
))
print_file
(
file
,
0
,
"can't be null, "
);
print_file
(
file
,
0
,
"can't be null, "
);
if
(
flags
&
NDR_CONTEXT_HANDLE_SERIALIZE
)
if
(
flags
&
NDR_CONTEXT_HANDLE_SERIALIZE
)
print_file
(
file
,
0
,
"serialize, "
);
print_file
(
file
,
0
,
"serialize, "
);
...
@@ -3523,10 +3522,10 @@ static unsigned int write_contexthandle_tfs(FILE *file,
...
@@ -3523,10 +3522,10 @@ static unsigned int write_contexthandle_tfs(FILE *file,
print_file
(
file
,
0
,
"no serialize, "
);
print_file
(
file
,
0
,
"no serialize, "
);
if
(
flags
&
NDR_STRICT_CONTEXT_HANDLE
)
if
(
flags
&
NDR_STRICT_CONTEXT_HANDLE
)
print_file
(
file
,
0
,
"strict, "
);
print_file
(
file
,
0
,
"strict, "
);
if
((
flags
&
0x21
)
==
0x20
)
if
(
flags
&
0x10
)
print_file
(
file
,
0
,
"out, "
);
if
((
flags
&
0x21
)
==
0x21
)
print_file
(
file
,
0
,
"return, "
);
print_file
(
file
,
0
,
"return, "
);
if
(
flags
&
0x20
)
print_file
(
file
,
0
,
"out, "
);
if
(
flags
&
0x40
)
if
(
flags
&
0x40
)
print_file
(
file
,
0
,
"in, "
);
print_file
(
file
,
0
,
"in, "
);
if
(
flags
&
0x80
)
if
(
flags
&
0x80
)
...
...
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