Commit 014dcb81 authored by Alexandre Julliard's avatar Alexandre Julliard

widl: Use local functions where possible instead of STUB_FORWARDING_FUNCTION in stub vtables.

parent d1b3d484
......@@ -543,7 +543,7 @@ static int write_stub_methods(type_t *iface, int skip)
const func_t *cur;
int i = 0;
if (iface->ref) i = write_stub_methods(iface->ref, TRUE);
if (iface->ref) i = write_stub_methods(iface->ref, need_delegation(iface));
else return i; /* skip IUnknown */
if (iface->funcs) LIST_FOR_EACH_ENTRY( cur, iface->funcs, const func_t, entry ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment