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
d54e9603
Commit
d54e9603
authored
Jul 26, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 26, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Emit default argument values for cpp methods.
parent
f31c2d1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
header.c
tools/widl/header.c
+7
-0
No files found.
tools/widl/header.c
View file @
d54e9603
...
...
@@ -876,6 +876,13 @@ void write_args(FILE *h, const var_list_t *args, const char *name, int method, i
else
fprintf
(
h
,
","
);
}
write_type_decl
(
h
,
arg
->
type
,
arg
->
name
);
if
(
method
==
2
)
{
const
expr_t
*
expr
=
get_attrp
(
arg
->
attrs
,
ATTR_DEFAULTVALUE
);
if
(
expr
)
{
fprintf
(
h
,
" = "
);
write_expr
(
h
,
expr
,
0
,
1
,
NULL
,
NULL
,
""
);
}
}
count
++
;
}
if
(
do_indent
)
indentation
--
;
...
...
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