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
b38cd7ff
Commit
b38cd7ff
authored
Mar 31, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Mar 31, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Output interface defined guard for rpc interfaces too.
parent
97d6f7c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
header.c
tools/widl/header.c
+3
-1
No files found.
tools/widl/header.c
View file @
b38cd7ff
...
...
@@ -922,12 +922,14 @@ static void write_rpc_interface(const type_t *iface)
fprintf
(
header
,
"/*****************************************************************************
\n
"
);
fprintf
(
header
,
" * %s interface (v%d.%d)
\n
"
,
iface
->
name
,
LOWORD
(
ver
),
HIWORD
(
ver
));
fprintf
(
header
,
" */
\n
"
);
fprintf
(
header
,
"#ifndef __%s_INTERFACE_DEFINED__
\n
"
,
iface
->
name
);
fprintf
(
header
,
"#define __%s_INTERFACE_DEFINED__
\n\n
"
,
iface
->
name
);
write_iface_guid
(
iface
);
if
(
var
)
fprintf
(
header
,
"extern handle_t %s;
\n
"
,
var
);
fprintf
(
header
,
"extern RPC_IF_HANDLE %s_v%d_%d_c_ifspec;
\n
"
,
iface
->
name
,
LOWORD
(
ver
),
HIWORD
(
ver
));
fprintf
(
header
,
"extern RPC_IF_HANDLE %s_v%d_%d_s_ifspec;
\n
"
,
iface
->
name
,
LOWORD
(
ver
),
HIWORD
(
ver
));
write_function_proto
(
iface
);
fprintf
(
header
,
"
\n
"
);
fprintf
(
header
,
"
\n
#endif /* __%s_INTERFACE_DEFINED__ */
\n\n
"
,
iface
->
name
);
/* FIXME: server/client code */
}
...
...
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