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>
This commit is contained in:
Jacek Caban 2020-12-18 16:15:28 +01:00 committed by Alexandre Julliard
parent 1d043f4da7
commit 6653a381cb
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{