mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 14:51:41 +01:00
18 lines
235 B
Cap'n Proto
18 lines
235 B
Cap'n Proto
@0xb7069c462537ddd6;
|
|
|
|
enum TestEnum {
|
|
a @0;
|
|
b @1;
|
|
}
|
|
|
|
const globalConstant: TestEnum = b;
|
|
|
|
struct Struct {
|
|
const structConstant: TestEnum = a;
|
|
|
|
union {
|
|
enumValue @0: TestEnum;
|
|
intValue @1: Int64;
|
|
}
|
|
}
|