widl: Stop looping in check_remoting_args when a context_handle or wire_marshal type is found as they are in effect fundamental types.

This commit is contained in:
Rob Shearman 2008-04-20 22:15:06 +01:00 committed by Alexandre Julliard
parent 03599dbab6
commit 6e27e7840f
1 changed files with 6 additions and 0 deletions

View File

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