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
d3c4106d
Commit
d3c4106d
authored
Sep 06, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Fix declaration order in generated headers.
parent
1042aa01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
header.c
tools/widl/header.c
+4
-6
No files found.
tools/widl/header.c
View file @
d3c4106d
...
...
@@ -1309,16 +1309,14 @@ void write_header(const statement_list_t *stmts)
fprintf
(
header
,
"#ifndef __WIDL_%s
\n
"
,
header_token
);
fprintf
(
header
,
"#define __WIDL_%s
\n\n
"
,
header_token
);
start_cplusplus_guard
(
header
);
fprintf
(
header
,
"/* Headers for imported files */
\n\n
"
);
write_imports
(
header
,
stmts
);
fprintf
(
header
,
"
\n
"
);
/* FIXME: should be before imported file includes */
fprintf
(
header
,
"/* Forward declarations */
\n\n
"
);
write_forward_decls
(
header
,
stmts
);
fprintf
(
header
,
"/* Headers for imported files */
\n\n
"
);
write_imports
(
header
,
stmts
);
fprintf
(
header
,
"
\n
"
);
start_cplusplus_guard
(
header
);
write_header_stmts
(
header
,
stmts
,
NULL
,
FALSE
);
...
...
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