7 interface myinterface {
8 long add(in long a, in long b);
9 void get_last(out long a, out long b);
10 void square(inout long r);
11 void message(in string msg);
12 void last_message(out string msg);
13 void struct_method(in struct_t s, out struct_t ss);
14 void obj_method(in myinterface mi, out myinterface mo);
15 void mytype_method(in mytype mt, out mytype mtt);