cannam@132
|
1 # Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors
|
cannam@132
|
2 # Licensed under the MIT License:
|
cannam@132
|
3 #
|
cannam@132
|
4 # Permission is hereby granted, free of charge, to any person obtaining a copy
|
cannam@132
|
5 # of this software and associated documentation files (the "Software"), to deal
|
cannam@132
|
6 # in the Software without restriction, including without limitation the rights
|
cannam@132
|
7 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
cannam@132
|
8 # copies of the Software, and to permit persons to whom the Software is
|
cannam@132
|
9 # furnished to do so, subject to the following conditions:
|
cannam@132
|
10 #
|
cannam@132
|
11 # The above copyright notice and this permission notice shall be included in
|
cannam@132
|
12 # all copies or substantial portions of the Software.
|
cannam@132
|
13 #
|
cannam@132
|
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
cannam@132
|
15 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
cannam@132
|
16 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
cannam@132
|
17 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
cannam@132
|
18 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
cannam@132
|
19 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
cannam@132
|
20 # THE SOFTWARE.
|
cannam@132
|
21
|
cannam@132
|
22 @0xc64a3bf0338a124a;
|
cannam@132
|
23
|
cannam@132
|
24 using Import1 = import "/capnp/schema.capnp";
|
cannam@132
|
25 using Import2 = import "test-import.capnp";
|
cannam@132
|
26 using Import3 = import "test.capnp";
|
cannam@132
|
27
|
cannam@132
|
28 struct TestImport2 {
|
cannam@132
|
29 foo @0 :Import3.TestAllTypes;
|
cannam@132
|
30 bar @1 :Import1.Node;
|
cannam@132
|
31 baz @2 :Import2.TestImport;
|
cannam@132
|
32 }
|