blob: 0da3dbf59e7425a7ea3b7e4cfccce582f8769bc4 [file] [log] [blame]
library example_5;
struct Point {
uint64 x;
};
union NotAPoint {
uint64 x;
uint32 y;
uint16 z;
};
enum Enum {};
enum Enum2 : uint64 {
enum_0 = 0;
enum_1 = 23;
};
enum Enum23 : int32 {
enum_3 = 0;
enum_4 = -23;
};
[ServiceName="my.Thing"]
interface Thing {
1: one_function(string s, bool b) -> ();
0x2: two_function(string s, bool b);
3: three_function(string s, request<Thing> r);
4: four_function(string s, request<Thing> r) -> (handle<channel> r);
};