| 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/person.capnp | 7 # $ capnp compile -o ./capnp-dart.sh tests/person.capnp |
| 8 # | 8 # |
| 9 | 9 |
| 10 @0xc82815f8a9701393; | 10 @0xc82815f8a9701393; |
| 11 | 11 |
| 12 struct Person { | 12 struct Person { |
| 13 name @0 :Text; | 13 name @0 :Text; |
| 14 age @1 :UInt16; | 14 age @1 :UInt16; |
| 15 children @2 :List(Person); | 15 children @2 :List(Person); |
| 16 } | 16 } |
| OLD | NEW |