Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / IDL_Test / old_struct.idl
blob7a5f38675061f0df582521a21f75e3dd6d7c54fa
2 //=============================================================================
3 /**
4 * @file old_struct.idl
6 * Tests of struct IDL constructs
9 * @author Andy Gokhale <gokhale@dre.vanderbilt.edu>
11 //=============================================================================
14 typedef string string_20[20];
16 struct bar1
18 long b1;
19 long b2;
20 string_20 b3;
23 struct bar2
25 long b3;
26 bar1 b4;
29 struct bar3
31 long b1;
32 long b2;
33 long b3;
36 struct bar4
38 long b1;
39 bar2 b2;
40 long b3;
41 bar3 b4;
42 long b5;
46 interface foo1
48 long op (in bar1 a, out bar2 b);
51 interface foo2 : foo1
53 bar1 op2 (in bar2 a);
55 long op3 (in long a, out char b);
59 typedef unsigned short Coord;
61 struct CellPos
63 Coord row;
64 Coord col;
67 struct CellPos2
69 unsigned short row;
70 unsigned short col;
73 struct CellPos3
75 Coord row;
76 Coord col;
77 unsigned short col2;