Zebediah Figura : widl: Fix proxy vtbl generation in -Oi mode.
Alexandre Julliard
julliard at winehq.org
Tue May 21 16:45:22 CDT 2019
Module: wine
Branch: master
Commit: ead21a1bdd15a27ef08c8feb5d5adbbedd688cee
URL: https://source.winehq.org/git/wine.git/?a=commit;h=ead21a1bdd15a27ef08c8feb5d5adbbedd688cee
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Mon May 20 23:30:52 2019 -0500
widl: Fix proxy vtbl generation in -Oi mode.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
tools/widl/proxy.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c
index 8d0e8b2..ef52e35 100644
--- a/tools/widl/proxy.c
+++ b/tools/widl/proxy.c
@@ -526,6 +526,7 @@ static int write_proxy_methods(type_t *iface, int skip)
if (skip || (is_local(func->attrs) && !get_callas_source(iface, func)))
print_proxy( "0, /* %s::%s */\n", iface->name, get_name(func));
else if (is_interpreted_func( iface, func ) &&
+ get_stub_mode() == MODE_Oif &&
!is_local( func->attrs ) &&
type_iface_get_inherit(iface))
print_proxy( "(void *)-1, /* %s::%s */\n", iface->name, get_name(func));
More information about the wine-cvs
mailing list