struct struct_t { long a, b; }; typedef long mytype; interface myinterface { long add(in long a, in long b); void get_last(out long a, out long b); void square(inout long r); void message(in string msg); void last_message(out string msg); void struct_method(in struct_t s, out struct_t ss); void obj_method(in myinterface mi, out myinterface mo); void mytype_method(in mytype mt, out mytype mtt); };