OLD | NEW |
1 # Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 # Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE.md file. | 3 # BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 # Compile using: | 5 # Compile using: |
6 # | 6 # |
7 # $ capnp compile -o ./capnp-dart.sh tests/address_book.capnp | 7 # $ capnp compile -o ./capnp-dart.sh tests/address_book.capnp |
8 # | 8 # |
9 | 9 |
10 @0x9cd01bb825c20e08; | 10 @0x9cd01bb825c20e08; |
11 | 11 |
(...skipping 19 matching lines...) Expand all Loading... |
31 employer @5 :Text; | 31 employer @5 :Text; |
32 school @6 :Text; | 32 school @6 :Text; |
33 selfEmployed @7 :Void; | 33 selfEmployed @7 :Void; |
34 # We assume that a person is only one of these. | 34 # We assume that a person is only one of these. |
35 } | 35 } |
36 } | 36 } |
37 | 37 |
38 struct AddressBook { | 38 struct AddressBook { |
39 people @0 :List(Person); | 39 people @0 :List(Person); |
40 } | 40 } |
OLD | NEW |