Rob Shearman : widl: Add support for strings embedded in structures.
Alexandre Julliard
julliard at winehq.org
Mon Sep 17 07:59:55 CDT 2007
Module: wine
Branch: master
Commit: f7fbfc7da5ce14a6b2548cc23c9971fa434d4ae5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f7fbfc7da5ce14a6b2548cc23c9971fa434d4ae5
Author: Rob Shearman <rob at codeweavers.com>
Date: Mon Sep 17 09:46:01 2007 +0100
widl: Add support for strings embedded in structures.
---
tools/widl/typegen.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index 02b2cbc..a15a969 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -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))
More information about the wine-cvs
mailing list