OLD | NEW |
---|---|
1 module mojo { | 1 module mojo { |
2 | 2 |
3 struct EchoArgs { | 3 struct EchoArgs { |
sky
2014/04/23 22:37:05
Please document what this is for and what the valu
| |
4 int64 si64; | 4 int64 si64; |
5 int32 si32; | 5 int32 si32; |
6 int16 si16; | 6 int16 si16; |
7 int8 si8; | 7 int8 si8; |
8 uint64 ui64; | 8 uint64 ui64; |
9 uint32 ui32; | 9 uint32 ui32; |
10 uint16 ui16; | 10 uint16 ui16; |
11 uint8 ui8; | 11 uint8 ui8; |
12 float float_val; | |
13 float float_inf; | |
14 float float_nan; | |
15 double double_val; | |
16 double double_inf; | |
17 double double_nan; | |
12 string name; | 18 string name; |
13 }; | 19 }; |
14 | 20 |
15 [Peer=RendererTarget] | 21 [Peer=RendererTarget] |
16 interface BrowserTarget { | 22 interface BrowserTarget { |
17 PingResponse(); | 23 PingResponse(); |
18 EchoResponse(EchoArgs arg1, EchoArgs arg2); | 24 EchoResponse(EchoArgs arg1, EchoArgs arg2); |
19 }; | 25 }; |
20 | 26 |
21 [Peer=BrowserTarget] | 27 [Peer=BrowserTarget] |
22 interface RendererTarget { | 28 interface RendererTarget { |
23 Ping(); | 29 Ping(); |
24 Echo(EchoArgs arg); | 30 Echo(EchoArgs arg); |
25 }; | 31 }; |
26 | 32 |
27 } | 33 } |
OLD | NEW |