[PATCH 4/5] widl: Write array pointers as FC_OP pointers if appropriate.

Zebediah Figura z.figura12 at gmail.com
Tue May 28 23:45:20 CDT 2019


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47285
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 tools/widl/typegen.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index 607b4e26b74..0d1a2956dcc 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -3604,8 +3604,7 @@ static unsigned int write_type_tfs(FILE *file, int indent,
             context != TYPE_CONTEXT_CONTAINER_NO_POINTERS)
         {
             int ptr_type;
-            ptr_type = get_pointer_fc(type, attrs,
-                                      context == TYPE_CONTEXT_TOPLEVELPARAM);
+            ptr_type = get_pointer_fc_context(type, attrs, context);
             if (ptr_type != FC_RP || type_array_is_decl_as_ptr(type))
             {
                 unsigned int absoff = type->typestring_offset;
-- 
2.21.0




More information about the wine-devel mailing list