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
7ca4e025
Commit
7ca4e025
authored
May 03, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Don't declare a global binding handle when using an implicit handle.
parent
adb9b13b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
client.c
tools/widl/client.c
+3
-9
No files found.
tools/widl/client.c
View file @
7ca4e025
...
...
@@ -88,6 +88,9 @@ static void write_function_stubs(type_t *iface, unsigned int *proc_offset, unsig
const
var_t
*
var
;
int
method_count
=
0
;
if
(
!
implicit_handle
)
print_client
(
"static RPC_BINDING_HANDLE %s__MIDL_AutoBindHandle;
\n\n
"
,
iface
->
name
);
if
(
iface
->
funcs
)
LIST_FOR_EACH_ENTRY
(
func
,
iface
->
funcs
,
const
func_t
,
entry
)
{
const
var_t
*
def
=
func
->
def
;
...
...
@@ -269,13 +272,6 @@ static void write_function_stubs(type_t *iface, unsigned int *proc_offset, unsig
}
static
void
write_bindinghandledecl
(
type_t
*
iface
)
{
print_client
(
"static RPC_BINDING_HANDLE %s__MIDL_AutoBindHandle;
\n
"
,
iface
->
name
);
fprintf
(
client
,
"
\n
"
);
}
static
void
write_stubdescdecl
(
type_t
*
iface
)
{
print_client
(
"static const MIDL_STUB_DESC %s_StubDesc;
\n
"
,
iface
->
name
);
...
...
@@ -433,8 +429,6 @@ void write_client(ifref_list_t *ifaces)
write_clientinterfacedecl
(
iface
->
iface
);
write_stubdescdecl
(
iface
->
iface
);
write_bindinghandledecl
(
iface
->
iface
);
write_function_stubs
(
iface
->
iface
,
&
proc_offset
,
&
type_offset
);
print_client
(
"#if !defined(__RPC_WIN32__)
\n
"
);
...
...
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