Zebediah Figura : widl: Write array pointers as FC_OP pointers if appropriate.
Alexandre Julliard
julliard at winehq.org
Wed May 29 15:50:37 CDT 2019
Module: wine
Branch: master
Commit: 8e7fefe3d8c1104cb93d5ed7509b2462a3486a7e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=8e7fefe3d8c1104cb93d5ed7509b2462a3486a7e
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Wed May 29 00:24:08 2019 -0500
widl: Write array pointers as FC_OP pointers if appropriate.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47285
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 2c70d15..d47bee7 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -3607,8 +3607,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;
More information about the wine-cvs
mailing list