Mercurial > hg > sv-dependency-builds
comparison osx/include/capnp/schema.capnp @ 62:0994c39f1e94
Cap'n Proto v0.6 + build for OSX
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Mon, 22 May 2017 10:01:37 +0100 |
parents | 3ab5a40c4e3b |
children |
comparison
equal
deleted
inserted
replaced
61:d101c4099725 | 62:0994c39f1e94 |
---|---|
320 | 320 |
321 anyPointer :union { | 321 anyPointer :union { |
322 unconstrained :union { | 322 unconstrained :union { |
323 # A regular AnyPointer. | 323 # A regular AnyPointer. |
324 # | 324 # |
325 # The name "unconstained" means as opposed to constraining it to match a type parameter. | 325 # The name "unconstrained" means as opposed to constraining it to match a type parameter. |
326 # In retrospect this name is probably a poor choice given that it may still be constrained | 326 # In retrospect this name is probably a poor choice given that it may still be constrained |
327 # to be a struct, list, or capability. | 327 # to be a struct, list, or capability. |
328 | 328 |
329 anyKind @18 :Void; # truly AnyPointer | 329 anyKind @18 :Void; # truly AnyPointer |
330 struct @25 :Void; # AnyStruct | 330 struct @25 :Void; # AnyStruct |
447 eightBytes @5; | 447 eightBytes @5; |
448 pointer @6; | 448 pointer @6; |
449 inlineComposite @7; | 449 inlineComposite @7; |
450 } | 450 } |
451 | 451 |
452 struct CapnpVersion { | |
453 major @0 :UInt16; | |
454 minor @1 :UInt8; | |
455 micro @2 :UInt8; | |
456 } | |
457 | |
452 struct CodeGeneratorRequest { | 458 struct CodeGeneratorRequest { |
459 capnpVersion @2 :CapnpVersion; | |
460 # Version of the `capnp` executable. Generally, code generators should ignore this, but the code | |
461 # generators that ship with `capnp` itself will print a warning if this mismatches since that | |
462 # probably indicates something is misconfigured. | |
463 # | |
464 # The first version of 'capnp' to set this was 0.6.0. So, if it's missing, the compiler version | |
465 # is older than that. | |
466 | |
453 nodes @0 :List(Node); | 467 nodes @0 :List(Node); |
454 # All nodes parsed by the compiler, including for the files on the command line and their | 468 # All nodes parsed by the compiler, including for the files on the command line and their |
455 # imports. | 469 # imports. |
456 | 470 |
457 requestedFiles @1 :List(RequestedFile); | 471 requestedFiles @1 :List(RequestedFile); |