Module: wine Branch: master Commit: 05ff9dfeb1a72cd1bab4b01e86e2a938141e4777 URL: http://source.winehq.org/git/wine.git/?a=commit;h=05ff9dfeb1a72cd1bab4b01e86...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Sep 16 21:08:54 2011 +0200
widl: Include string formats in the element description for complex arrays.
---
tools/widl/typegen.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 5a22525..a3c12f2 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -2336,6 +2336,11 @@ static void write_array_element_type(FILE *file, const type_t *type, ref->typestring_offset, tfsoff); return; } + if (cont_is_complex && is_string_type(NULL, elem)) + { + write_string_tfs(file, NULL, elem, TYPE_CONTEXT_CONTAINER, NULL, tfsoff); + return; + } if (!is_string_type(NULL, elem) && (type_get_type(ref) == TYPE_BASIC || type_get_type(ref) == TYPE_ENUM)) {