Zebediah Figura : widl: Use type_iface_get_inherit() in check_async_uuid() .

Alexandre Julliard julliard at winehq.org
Thu Aug 15 14:50:46 CDT 2019


Module: wine
Branch: master
Commit: c5ab9d01be7f796560a4b1107b4a639dec75a622
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c5ab9d01be7f796560a4b1107b4a639dec75a622

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Wed Aug 14 21:45:47 2019 -0500

widl: Use type_iface_get_inherit() in check_async_uuid().

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/widl/parser.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index e39d801..1504fb9 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -2807,7 +2807,7 @@ static void check_async_uuid(type_t *iface)
 
     if (!is_attr(iface->attrs, ATTR_ASYNCUUID)) return;
 
-    inherit = iface->details.iface->inherit;
+    inherit = type_iface_get_inherit(iface);
     if (inherit && strcmp(inherit->name, "IUnknown"))
         inherit = type_iface_get_async_iface(inherit);
     if (!inherit)




More information about the wine-cvs mailing list