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
73a25d31
Commit
73a25d31
authored
Dec 26, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Dec 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Generate correct proc format strings for [out] and [in, out] parameters.
parent
e59dcf53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
typegen.c
tools/widl/typegen.c
+8
-0
No files found.
tools/widl/typegen.c
View file @
73a25d31
...
...
@@ -96,10 +96,18 @@ static size_t write_procformatstring_var(FILE *file, int indent, var_t *var, int
}
else
{
int
in_attr
=
is_attr
(
var
->
attrs
,
ATTR_IN
);
int
out_attr
=
is_attr
(
var
->
attrs
,
ATTR_OUT
);
if
(
is_return
)
print_file
(
file
,
indent
,
"0x52, /* FC_RETURN_PARAM */
\n
"
);
else
if
(
in_attr
&&
out_attr
)
print_file
(
file
,
indent
,
"0x50, /* FC_IN_OUT_PARAM */
\n
"
);
else
if
(
out_attr
)
print_file
(
file
,
indent
,
"0x51, /* FC_OUT_PARAM */
\n
"
);
else
print_file
(
file
,
indent
,
"0x4d, /* FC_IN_PARAM */
\n
"
);
print_file
(
file
,
indent
,
"0x01,
\n
"
);
print_file
(
file
,
indent
,
"NdrFcShort(0x%x),
\n
"
,
*
type_offset
);
size
=
4
;
/* includes param type prefix */
...
...
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