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
28389a06
Commit
28389a06
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: Use public HANDLE_PARAM_IS_* flags.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7841a757
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
typegen.c
tools/widl/typegen.c
+7
-7
No files found.
tools/widl/typegen.c
View file @
28389a06
...
...
@@ -451,14 +451,14 @@ static unsigned char get_contexthandle_flags( const type_t *iface, const attr_li
if
(
is_ptr
(
type
)
&&
!
is_attr
(
type
->
attrs
,
ATTR_CONTEXTHANDLE
)
&&
!
is_attr
(
attrs
,
ATTR_CONTEXTHANDLE
))
flags
|=
0x80
;
flags
|=
HANDLE_PARAM_IS_VIA_PTR
;
if
(
is_attr
(
attrs
,
ATTR_IN
))
{
flags
|=
0x40
;
flags
|=
HANDLE_PARAM_IS_IN
;
if
(
!
is_attr
(
attrs
,
ATTR_OUT
))
flags
|=
NDR_CONTEXT_HANDLE_CANNOT_BE_NULL
;
}
if
(
is_attr
(
attrs
,
ATTR_OUT
))
flags
|=
0x20
;
if
(
is_attr
(
attrs
,
ATTR_OUT
))
flags
|=
HANDLE_PARAM_IS_OUT
;
return
flags
;
}
...
...
@@ -3522,13 +3522,13 @@ static unsigned int write_contexthandle_tfs(FILE *file,
print_file
(
file
,
0
,
"no serialize, "
);
if
(
flags
&
NDR_STRICT_CONTEXT_HANDLE
)
print_file
(
file
,
0
,
"strict, "
);
if
(
flags
&
0x10
)
if
(
flags
&
HANDLE_PARAM_IS_RETURN
)
print_file
(
file
,
0
,
"return, "
);
if
(
flags
&
0x20
)
if
(
flags
&
HANDLE_PARAM_IS_OUT
)
print_file
(
file
,
0
,
"out, "
);
if
(
flags
&
0x40
)
if
(
flags
&
HANDLE_PARAM_IS_IN
)
print_file
(
file
,
0
,
"in, "
);
if
(
flags
&
0x80
)
if
(
flags
&
HANDLE_PARAM_IS_VIA_PTR
)
print_file
(
file
,
0
,
"via ptr, "
);
print_file
(
file
,
0
,
"*/
\n
"
);
print_file
(
file
,
2
,
"0x%x,
\t
/* rundown routine */
\n
"
,
get_context_handle_offset
(
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