blob: 199c7fd2c3bc132eb69a555374762d3d8684961a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/**
* @file Test.idl
*
* $Id$
*
*/
union FirstUnion switch (boolean) {
case TRUE :
long first_union_foo;
case FALSE :
long first_union_bar;
};
typedef FirstUnion FirstUnionArray[2];
struct MyStruct {
FirstUnionArray my_struct_foo;
};
union SecondUnion switch (boolean) {
case TRUE :
MyStruct second_union_struct_member;
case FALSE :
long wibble;
};
|