Module: wine Branch: master Commit: bcca410733f8a55157fd13e2d42a06730e4a518c URL: http://source.winehq.org/git/wine.git/?a=commit;h=bcca410733f8a55157fd13e2d4...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Jun 14 12:23:32 2011 +0200
widl: Allow unsized in,out string parameters.
---
tools/widl/parser.y | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 24107fc..f034074 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -2572,6 +2572,7 @@ static void check_remoting_args(const var_t *func) type_array_get_conformance(type)->type != EXPR_VOID) 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); break; case TGT_INVALID: