Commit bcca4107 authored by Alexandre Julliard's avatar Alexandre Julliard

widl: Allow unsized in,out string parameters.

parent 351c6ca5
...@@ -2572,6 +2572,7 @@ static void check_remoting_args(const var_t *func) ...@@ -2572,6 +2572,7 @@ static void check_remoting_args(const var_t *func)
type_array_get_conformance(type)->type != EXPR_VOID) break; type_array_get_conformance(type)->type != EXPR_VOID) break;
if (!type_array_has_conformance(type) && type_array_get_dim(type)) break; if (!type_array_has_conformance(type) && type_array_get_dim(type)) break;
} }
if (is_attr( arg->attrs, ATTR_IN )) break;
error_loc_info(&arg->loc_info, "out parameter \'%s\' of function \'%s\' cannot be an unsized string\n", arg->name, funcname); error_loc_info(&arg->loc_info, "out parameter \'%s\' of function \'%s\' cannot be an unsized string\n", arg->name, funcname);
break; break;
case TGT_INVALID: case TGT_INVALID:
......
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