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

Alexandre Julliard julliard at winehq.org
Mon Dec 8 09:46:33 CST 2008


Module: wine
Branch: master
Commit: 014dcb81e837fdde32a8b659a7d482b87936c581
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=014dcb81e837fdde32a8b659a7d482b87936c581

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Dec  8 15:11:26 2008 +0100

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

---

 tools/widl/proxy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c
index 53d5c9d..95651fc 100644
--- a/tools/widl/proxy.c
+++ b/tools/widl/proxy.c
@@ -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 ) {




More information about the wine-cvs mailing list