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
52607ba6
Commit
52607ba6
authored
Oct 14, 2012
by
Thomas Faber
Committed by
Alexandre Julliard
Oct 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Use 'class' for coclass typedefs in C++.
parent
311a1e01
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
header.c
tools/widl/header.c
+4
-0
No files found.
tools/widl/header.c
View file @
52607ba6
...
...
@@ -1301,7 +1301,11 @@ static void write_coclass_forward(FILE *header, type_t *cocl)
{
fprintf
(
header
,
"#ifndef __%s_FWD_DEFINED__
\n
"
,
cocl
->
name
);
fprintf
(
header
,
"#define __%s_FWD_DEFINED__
\n
"
,
cocl
->
name
);
fprintf
(
header
,
"#ifdef __cplusplus
\n
"
);
fprintf
(
header
,
"typedef class %s %s;
\n
"
,
cocl
->
name
,
cocl
->
name
);
fprintf
(
header
,
"#else
\n
"
);
fprintf
(
header
,
"typedef struct %s %s;
\n
"
,
cocl
->
name
,
cocl
->
name
);
fprintf
(
header
,
"#endif /* defined __cplusplus */
\n
"
);
fprintf
(
header
,
"#endif /* defined __%s_FWD_DEFINED__ */
\n\n
"
,
cocl
->
name
);
}
...
...
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