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:
parent
03599dbab6
commit
6e27e7840f
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue