Commit 6e27e784 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

widl: Stop looping in check_remoting_args when a context_handle or wire_marshal…

widl: Stop looping in check_remoting_args when a context_handle or wire_marshal type is found as they are in effect fundamental types.
parent 03599dba
...@@ -2376,9 +2376,15 @@ static void check_remoting_args(const func_t *func) ...@@ -2376,9 +2376,15 @@ static void check_remoting_args(const func_t *func)
for (;;) for (;;)
{ {
if (!is_wire_marshal && is_attr(type->attrs, ATTR_WIREMARSHAL)) if (!is_wire_marshal && is_attr(type->attrs, ATTR_WIREMARSHAL))
{
is_wire_marshal = 1; is_wire_marshal = 1;
break;
}
if (!is_context_handle && is_attr(type->attrs, ATTR_CONTEXTHANDLE)) if (!is_context_handle && is_attr(type->attrs, ATTR_CONTEXTHANDLE))
{
is_context_handle = 1; is_context_handle = 1;
break;
}
if (type->kind == TKIND_ALIAS) if (type->kind == TKIND_ALIAS)
type = type->orig; type = type->orig;
else if (is_ptr(type)) else if (is_ptr(type))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment