widl: Add support for strings embedded in structures.

This commit is contained in:
Rob Shearman 2007-09-17 09:46:01 +01:00 committed by Alexandre Julliard
parent b7618f91d7
commit f7fbfc7da5
1 changed files with 4 additions and 0 deletions

View File

@ -2041,6 +2041,10 @@ static int write_embedded_types(FILE *file, const attr_list_t *attrs, type_t *ty
retmask |= 1;
}
}
else if (last_array(type) && is_attr(attrs, ATTR_STRING))
{
write_string_tfs(file, attrs, type, name, tfsoff);
}
else if (type->declarray && is_conformant_array(type))
; /* conformant arrays and strings are handled specially */
else if (is_array(type))