widl: Allow unsized in,out string parameters.

This commit is contained in:
Alexandre Julliard 2011-06-14 12:23:32 +02:00
parent 351c6ca5e4
commit bcca410733
1 changed files with 1 additions and 0 deletions

View File

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