widl: Mark unions, user types, and ranges as IsSimpleRef.
This fixes a regression introduced by 02976b655a
.
That patch should only have affected arrays.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c13351c05a
commit
0afbcee924
|
@ -1064,7 +1064,8 @@ static unsigned char get_parameter_fc( const var_t *var, int is_return, unsigned
|
|||
case TGT_UNION:
|
||||
case TGT_USER_TYPE:
|
||||
case TGT_RANGE:
|
||||
*flags |= MustFree;
|
||||
*flags |= MustFree | IsSimpleRef;
|
||||
*typestring_offset = ref->typestring_offset;
|
||||
if (!is_in && is_out) server_size = type_memsize( ref );
|
||||
break;
|
||||
case TGT_ARRAY:
|
||||
|
|
Loading…
Reference in New Issue