OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // HYPOTHETICAL IDL: | |
6 | |
7 module sample { | |
8 | |
9 struct Bar { | |
10 alpha @0 :uint8; | |
11 beta @1 :uint8; | |
12 gamma @2 :uint8; | |
13 }; | |
viettrungluu
2013/10/01 00:51:04
Are we going to support ...
- ... "enums"? Enumer
| |
14 | |
15 struct Foo { | |
16 x @0 :int32; | |
17 y @1 :int32; | |
18 a @2 :bool; | |
19 b @3 :bool; | |
20 c @4 :bool; | |
21 bar @5 :Bar; | |
22 extra_bars @7 :array(Bar) [optional]; | |
23 data @6 :array(uint8); | |
24 }; | |
25 | |
26 interface Service { | |
27 Frobinate @0 (foo @0 :Foo, baz @1 :bool); | |
28 }; | |
29 | |
30 } | |
OLD | NEW |