Module: wine Branch: master Commit: 6653a381cb10d34c39bd0feba71d4221a92ca44b URL: https://source.winehq.org/git/wine.git/?a=commit;h=6653a381cb10d34c39bd0feba...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Dec 18 16:15:28 2020 +0100
widl: Don't apply call_as methods to async interface.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/widl/parser.y | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 1d413ca74f4..b729d772fcd 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -2940,6 +2940,8 @@ static void check_async_uuid(type_t *iface) var_t *begin_func, *finish_func, *func = stmt->u.var, *arg; var_list_t *begin_args = NULL, *finish_args = NULL, *args;
+ if (is_attr(func->attrs, ATTR_CALLAS)) continue; + args = type_function_get_args(func->declspec.type); if (args) LIST_FOR_EACH_ENTRY(arg, args, var_t, entry) {