widl: A structure with variance, but without conformance should be a complex struct instead of a conformant, varying struct.
This commit is contained in:
parent
197bddfb87
commit
f198dcf09b
|
@ -1622,7 +1622,12 @@ static int get_struct_type(var_list_t *fields)
|
|||
}
|
||||
|
||||
if( has_variance )
|
||||
{
|
||||
if ( has_conformance )
|
||||
return RPC_FC_CVSTRUCT;
|
||||
else
|
||||
return RPC_FC_BOGUS_STRUCT;
|
||||
}
|
||||
if( has_conformance && has_pointer )
|
||||
return RPC_FC_CPSTRUCT;
|
||||
if( has_conformance )
|
||||
|
|
Loading…
Reference in New Issue