[Patch] fix IDL hang
Noel Power
nopower at suse.com
Thu Aug 7 08:24:42 MDT 2014
On 07/08/14 14:10, Stefan (metze) Metzmacher wrote:
[...]
> ultype need to be defined somewhere.
right right, pidl is forgiving enough for me to create such a example
that it will happily compile ;-) a better version would be
interface foobar
{
typedef [public] struct {
baz anode;
} foo;
typedef [switch_type(int)] union {
[case(1)] foo afoo;
} values;
typedef [public] struct {
int vtype;
[switch_is(vtype)] values avalue;
} baz;
};
>
> What are you trying to solve?
>
something like the CRestriction structure in
http://msdn.microsoft.com/en-us/library/cc251795.aspx (and it's not the
only one) The example above is an attempt to minimize that
Noel
More information about the samba-technical
mailing list