Rob Shearman : widl: Write out embedded pointers for the element type when writing out arrays.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jun 20 09:13:41 CDT 2007


Module: wine
Branch: master
Commit: 4292776b83d22cf545ff1f4f23f560a325ffb47d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4292776b83d22cf545ff1f4f23f560a325ffb47d

Author: Rob Shearman <rob at codeweavers.com>
Date:   Tue Jun 19 12:09:18 2007 +0100

widl: Write out embedded pointers for the element type when writing out arrays.

---

 tools/widl/typegen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index f74e886..300a881 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -1518,7 +1518,7 @@ static size_t write_array_tfs(FILE *file, const attr_list_t *attrs, type_t *type
             print_file(file, 2, "0x%x, /* FC_PP */\n", RPC_FC_PP);
             print_file(file, 2, "0x%x, /* FC_PAD */\n", RPC_FC_PAD);
             *typestring_offset += 2;
-            write_pointer_description(file, type, 0, 0, typestring_offset);
+            write_pointer_description(file, type->ref, 0, 0, typestring_offset);
             print_file(file, 2, "0x%x, /* FC_END */\n", RPC_FC_END);
             *typestring_offset += 1;
         }




More information about the wine-cvs mailing list