File: test-args.idl

package info (click to toggle)
orbit 0.5.0-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,604 kB
  • ctags: 4,626
  • sloc: ansic: 37,930; sh: 7,508; yacc: 1,750; makefile: 877; lex: 366
file content (42 lines) | stat: -rw-r--r-- 990 bytes parent folder | download | duplicates (5)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
interface I {
  struct SFixed {
    long member1;
    octet member2;
  };

  SFixed doSFixed(in SFixed inparam, out SFixed outparam, inout SFixed inoutparam);

  struct SVar {
    string member1;
    long member2;
  };
  SVar doSVar(in SVar inparam, out SVar outparam, inout SVar inoutparam);

  union UFixed switch(long) {
  case 'a': long x;
  case 'b': short y;
  default: float z;
  };
  UFixed doUFixed(in UFixed inparam, out UFixed outparam, inout UFixed inoutparam);

  union UVar switch(long) {
  case 'a': long x;
  case 'b': string y;
  default: float z;
  };
  UVar doUVar(in UVar inparam, out UVar outparam, inout UVar inoutparam);

  typedef sequence<string> Seq;
  Seq doSeq(in Seq inparam, out Seq outparam, inout Seq inoutparam);

  typedef long AFixed[2][3];
  AFixed doAFixed(in AFixed inparam,
		  out AFixed outparam,
		  inout AFixed inoutparam);

  typedef string AVar[2][3];
  AVar doAVar(in AVar inparam,
	      out AVar outparam,
	      inout AVar inoutparam);

};