Update autogenerated files

This commit is contained in:
David Lamparter 2016-06-22 14:24:28 +02:00
parent 1afce9573a
commit 87591da455
4 changed files with 3661 additions and 130 deletions

View file

@ -79,7 +79,7 @@ void write_Node(const struct Node *s, Node_ptr p) {
case Node__struct:
capn_write16(p.p, 14, s->_struct.dataWordCount);
capn_write16(p.p, 24, s->_struct.pointerCount);
capn_write16(p.p, 26, (uint16_t) s->_struct.preferredListEncoding);
capn_write16(p.p, 26, (uint16_t) (s->_struct.preferredListEncoding));
capn_write1(p.p, 224, s->_struct.isGroup != 0);
capn_write16(p.p, 30, s->_struct.discriminantCount);
capn_write32(p.p, 32, s->_struct.discriminantOffset);
@ -126,6 +126,102 @@ void set_Node(const struct Node *s, Node_list l, int i) {
write_Node(s, p);
}
uint64_t Node_get_id(Node_ptr p)
{
uint64_t id;
id = capn_read64(p.p, 0);
return id;
}
capn_text Node_get_displayName(Node_ptr p)
{
capn_text displayName;
displayName = capn_get_text(p.p, 0, capn_val0);
return displayName;
}
uint32_t Node_get_displayNamePrefixLength(Node_ptr p)
{
uint32_t displayNamePrefixLength;
displayNamePrefixLength = capn_read32(p.p, 8);
return displayNamePrefixLength;
}
uint64_t Node_get_scopeId(Node_ptr p)
{
uint64_t scopeId;
scopeId = capn_read64(p.p, 16);
return scopeId;
}
Node_Parameter_list Node_get_parameters(Node_ptr p)
{
Node_Parameter_list parameters;
parameters.p = capn_getp(p.p, 5, 0);
return parameters;
}
unsigned Node_get_isGeneric(Node_ptr p)
{
unsigned isGeneric;
isGeneric = (capn_read8(p.p, 36) & 1) != 0;
return isGeneric;
}
Node_NestedNode_list Node_get_nestedNodes(Node_ptr p)
{
Node_NestedNode_list nestedNodes;
nestedNodes.p = capn_getp(p.p, 1, 0);
return nestedNodes;
}
Annotation_list Node_get_annotations(Node_ptr p)
{
Annotation_list annotations;
annotations.p = capn_getp(p.p, 2, 0);
return annotations;
}
void Node_set_id(Node_ptr p, uint64_t id)
{
capn_write64(p.p, 0, id);
}
void Node_set_displayName(Node_ptr p, capn_text displayName)
{
capn_set_text(p.p, 0, displayName);
}
void Node_set_displayNamePrefixLength(Node_ptr p, uint32_t displayNamePrefixLength)
{
capn_write32(p.p, 8, displayNamePrefixLength);
}
void Node_set_scopeId(Node_ptr p, uint64_t scopeId)
{
capn_write64(p.p, 16, scopeId);
}
void Node_set_parameters(Node_ptr p, Node_Parameter_list parameters)
{
capn_setp(p.p, 5, parameters.p);
}
void Node_set_isGeneric(Node_ptr p, unsigned isGeneric)
{
capn_write1(p.p, 288, isGeneric != 0);
}
void Node_set_nestedNodes(Node_ptr p, Node_NestedNode_list nestedNodes)
{
capn_setp(p.p, 1, nestedNodes.p);
}
void Node_set_annotations(Node_ptr p, Annotation_list annotations)
{
capn_setp(p.p, 2, annotations.p);
}
Node_Parameter_ptr new_Node_Parameter(struct capn_segment *s) {
Node_Parameter_ptr p;
p.p = capn_new_struct(s, 0, 1);
@ -155,6 +251,18 @@ void set_Node_Parameter(const struct Node_Parameter *s, Node_Parameter_list l, i
write_Node_Parameter(s, p);
}
capn_text Node_Parameter_get_name(Node_Parameter_ptr p)
{
capn_text name;
name = capn_get_text(p.p, 0, capn_val0);
return name;
}
void Node_Parameter_set_name(Node_Parameter_ptr p, capn_text name)
{
capn_set_text(p.p, 0, name);
}
Node_NestedNode_ptr new_Node_NestedNode(struct capn_segment *s) {
Node_NestedNode_ptr p;
p.p = capn_new_struct(s, 8, 1);
@ -186,6 +294,30 @@ void set_Node_NestedNode(const struct Node_NestedNode *s, Node_NestedNode_list l
write_Node_NestedNode(s, p);
}
capn_text Node_NestedNode_get_name(Node_NestedNode_ptr p)
{
capn_text name;
name = capn_get_text(p.p, 0, capn_val0);
return name;
}
uint64_t Node_NestedNode_get_id(Node_NestedNode_ptr p)
{
uint64_t id;
id = capn_read64(p.p, 0);
return id;
}
void Node_NestedNode_set_name(Node_NestedNode_ptr p, capn_text name)
{
capn_set_text(p.p, 0, name);
}
void Node_NestedNode_set_id(Node_NestedNode_ptr p, uint64_t id)
{
capn_write64(p.p, 0, id);
}
Field_ptr new_Field(struct capn_segment *s) {
Field_ptr p;
p.p = capn_new_struct(s, 24, 4);
@ -265,6 +397,54 @@ void set_Field(const struct Field *s, Field_list l, int i) {
write_Field(s, p);
}
capn_text Field_get_name(Field_ptr p)
{
capn_text name;
name = capn_get_text(p.p, 0, capn_val0);
return name;
}
uint16_t Field_get_codeOrder(Field_ptr p)
{
uint16_t codeOrder;
codeOrder = capn_read16(p.p, 0);
return codeOrder;
}
Annotation_list Field_get_annotations(Field_ptr p)
{
Annotation_list annotations;
annotations.p = capn_getp(p.p, 1, 0);
return annotations;
}
uint16_t Field_get_discriminantValue(Field_ptr p)
{
uint16_t discriminantValue;
discriminantValue = capn_read16(p.p, 2) ^ 65535u;
return discriminantValue;
}
void Field_set_name(Field_ptr p, capn_text name)
{
capn_set_text(p.p, 0, name);
}
void Field_set_codeOrder(Field_ptr p, uint16_t codeOrder)
{
capn_write16(p.p, 0, codeOrder);
}
void Field_set_annotations(Field_ptr p, Annotation_list annotations)
{
capn_setp(p.p, 1, annotations.p);
}
void Field_set_discriminantValue(Field_ptr p, uint16_t discriminantValue)
{
capn_write16(p.p, 2, discriminantValue ^ 65535u);
}
Enumerant_ptr new_Enumerant(struct capn_segment *s) {
Enumerant_ptr p;
p.p = capn_new_struct(s, 8, 2);
@ -298,6 +478,42 @@ void set_Enumerant(const struct Enumerant *s, Enumerant_list l, int i) {
write_Enumerant(s, p);
}
capn_text Enumerant_get_name(Enumerant_ptr p)
{
capn_text name;
name = capn_get_text(p.p, 0, capn_val0);
return name;
}
uint16_t Enumerant_get_codeOrder(Enumerant_ptr p)
{
uint16_t codeOrder;
codeOrder = capn_read16(p.p, 0);
return codeOrder;
}
Annotation_list Enumerant_get_annotations(Enumerant_ptr p)
{
Annotation_list annotations;
annotations.p = capn_getp(p.p, 1, 0);
return annotations;
}
void Enumerant_set_name(Enumerant_ptr p, capn_text name)
{
capn_set_text(p.p, 0, name);
}
void Enumerant_set_codeOrder(Enumerant_ptr p, uint16_t codeOrder)
{
capn_write16(p.p, 0, codeOrder);
}
void Enumerant_set_annotations(Enumerant_ptr p, Annotation_list annotations)
{
capn_setp(p.p, 1, annotations.p);
}
Superclass_ptr new_Superclass(struct capn_segment *s) {
Superclass_ptr p;
p.p = capn_new_struct(s, 8, 1);
@ -329,6 +545,30 @@ void set_Superclass(const struct Superclass *s, Superclass_list l, int i) {
write_Superclass(s, p);
}
uint64_t Superclass_get_id(Superclass_ptr p)
{
uint64_t id;
id = capn_read64(p.p, 0);
return id;
}
Brand_ptr Superclass_get_brand(Superclass_ptr p)
{
Brand_ptr brand;
brand.p = capn_getp(p.p, 0, 0);
return brand;
}
void Superclass_set_id(Superclass_ptr p, uint64_t id)
{
capn_write64(p.p, 0, id);
}
void Superclass_set_brand(Superclass_ptr p, Brand_ptr brand)
{
capn_setp(p.p, 0, brand.p);
}
Method_ptr new_Method(struct capn_segment *s) {
Method_ptr p;
p.p = capn_new_struct(s, 24, 5);
@ -372,6 +612,102 @@ void set_Method(const struct Method *s, Method_list l, int i) {
write_Method(s, p);
}
capn_text Method_get_name(Method_ptr p)
{
capn_text name;
name = capn_get_text(p.p, 0, capn_val0);
return name;
}
uint16_t Method_get_codeOrder(Method_ptr p)
{
uint16_t codeOrder;
codeOrder = capn_read16(p.p, 0);
return codeOrder;
}
Node_Parameter_list Method_get_implicitParameters(Method_ptr p)
{
Node_Parameter_list implicitParameters;
implicitParameters.p = capn_getp(p.p, 4, 0);
return implicitParameters;
}
uint64_t Method_get_paramStructType(Method_ptr p)
{
uint64_t paramStructType;
paramStructType = capn_read64(p.p, 8);
return paramStructType;
}
Brand_ptr Method_get_paramBrand(Method_ptr p)
{
Brand_ptr paramBrand;
paramBrand.p = capn_getp(p.p, 2, 0);
return paramBrand;
}
uint64_t Method_get_resultStructType(Method_ptr p)
{
uint64_t resultStructType;
resultStructType = capn_read64(p.p, 16);
return resultStructType;
}
Brand_ptr Method_get_resultBrand(Method_ptr p)
{
Brand_ptr resultBrand;
resultBrand.p = capn_getp(p.p, 3, 0);
return resultBrand;
}
Annotation_list Method_get_annotations(Method_ptr p)
{
Annotation_list annotations;
annotations.p = capn_getp(p.p, 1, 0);
return annotations;
}
void Method_set_name(Method_ptr p, capn_text name)
{
capn_set_text(p.p, 0, name);
}
void Method_set_codeOrder(Method_ptr p, uint16_t codeOrder)
{
capn_write16(p.p, 0, codeOrder);
}
void Method_set_implicitParameters(Method_ptr p, Node_Parameter_list implicitParameters)
{
capn_setp(p.p, 4, implicitParameters.p);
}
void Method_set_paramStructType(Method_ptr p, uint64_t paramStructType)
{
capn_write64(p.p, 8, paramStructType);
}
void Method_set_paramBrand(Method_ptr p, Brand_ptr paramBrand)
{
capn_setp(p.p, 2, paramBrand.p);
}
void Method_set_resultStructType(Method_ptr p, uint64_t resultStructType)
{
capn_write64(p.p, 16, resultStructType);
}
void Method_set_resultBrand(Method_ptr p, Brand_ptr resultBrand)
{
capn_setp(p.p, 3, resultBrand.p);
}
void Method_set_annotations(Method_ptr p, Annotation_list annotations)
{
capn_setp(p.p, 1, annotations.p);
}
Type_ptr new_Type(struct capn_segment *s) {
Type_ptr p;
p.p = capn_new_struct(s, 24, 1);
@ -496,6 +832,18 @@ void set_Brand(const struct Brand *s, Brand_list l, int i) {
write_Brand(s, p);
}
Brand_Scope_list Brand_get_scopes(Brand_ptr p)
{
Brand_Scope_list scopes;
scopes.p = capn_getp(p.p, 0, 0);
return scopes;
}
void Brand_set_scopes(Brand_ptr p, Brand_Scope_list scopes)
{
capn_setp(p.p, 0, scopes.p);
}
Brand_Scope_ptr new_Brand_Scope(struct capn_segment *s) {
Brand_Scope_ptr p;
p.p = capn_new_struct(s, 16, 1);
@ -541,6 +889,18 @@ void set_Brand_Scope(const struct Brand_Scope *s, Brand_Scope_list l, int i) {
write_Brand_Scope(s, p);
}
uint64_t Brand_Scope_get_scopeId(Brand_Scope_ptr p)
{
uint64_t scopeId;
scopeId = capn_read64(p.p, 0);
return scopeId;
}
void Brand_Scope_set_scopeId(Brand_Scope_ptr p, uint64_t scopeId)
{
capn_write64(p.p, 0, scopeId);
}
Brand_Binding_ptr new_Brand_Binding(struct capn_segment *s) {
Brand_Binding_ptr p;
p.p = capn_new_struct(s, 8, 1);
@ -720,6 +1080,42 @@ void set_Annotation(const struct Annotation *s, Annotation_list l, int i) {
write_Annotation(s, p);
}
uint64_t Annotation_get_id(Annotation_ptr p)
{
uint64_t id;
id = capn_read64(p.p, 0);
return id;
}
Brand_ptr Annotation_get_brand(Annotation_ptr p)
{
Brand_ptr brand;
brand.p = capn_getp(p.p, 1, 0);
return brand;
}
Value_ptr Annotation_get_value(Annotation_ptr p)
{
Value_ptr value;
value.p = capn_getp(p.p, 0, 0);
return value;
}
void Annotation_set_id(Annotation_ptr p, uint64_t id)
{
capn_write64(p.p, 0, id);
}
void Annotation_set_brand(Annotation_ptr p, Brand_ptr brand)
{
capn_setp(p.p, 1, brand.p);
}
void Annotation_set_value(Annotation_ptr p, Value_ptr value)
{
capn_setp(p.p, 0, value.p);
}
CodeGeneratorRequest_ptr new_CodeGeneratorRequest(struct capn_segment *s) {
CodeGeneratorRequest_ptr p;
p.p = capn_new_struct(s, 0, 2);
@ -751,6 +1147,30 @@ void set_CodeGeneratorRequest(const struct CodeGeneratorRequest *s, CodeGenerato
write_CodeGeneratorRequest(s, p);
}
Node_list CodeGeneratorRequest_get_nodes(CodeGeneratorRequest_ptr p)
{
Node_list nodes;
nodes.p = capn_getp(p.p, 0, 0);
return nodes;
}
CodeGeneratorRequest_RequestedFile_list CodeGeneratorRequest_get_requestedFiles(CodeGeneratorRequest_ptr p)
{
CodeGeneratorRequest_RequestedFile_list requestedFiles;
requestedFiles.p = capn_getp(p.p, 1, 0);
return requestedFiles;
}
void CodeGeneratorRequest_set_nodes(CodeGeneratorRequest_ptr p, Node_list nodes)
{
capn_setp(p.p, 0, nodes.p);
}
void CodeGeneratorRequest_set_requestedFiles(CodeGeneratorRequest_ptr p, CodeGeneratorRequest_RequestedFile_list requestedFiles)
{
capn_setp(p.p, 1, requestedFiles.p);
}
CodeGeneratorRequest_RequestedFile_ptr new_CodeGeneratorRequest_RequestedFile(struct capn_segment *s) {
CodeGeneratorRequest_RequestedFile_ptr p;
p.p = capn_new_struct(s, 8, 2);
@ -784,6 +1204,42 @@ void set_CodeGeneratorRequest_RequestedFile(const struct CodeGeneratorRequest_Re
write_CodeGeneratorRequest_RequestedFile(s, p);
}
uint64_t CodeGeneratorRequest_RequestedFile_get_id(CodeGeneratorRequest_RequestedFile_ptr p)
{
uint64_t id;
id = capn_read64(p.p, 0);
return id;
}
capn_text CodeGeneratorRequest_RequestedFile_get_filename(CodeGeneratorRequest_RequestedFile_ptr p)
{
capn_text filename;
filename = capn_get_text(p.p, 0, capn_val0);
return filename;
}
CodeGeneratorRequest_RequestedFile_Import_list CodeGeneratorRequest_RequestedFile_get_imports(CodeGeneratorRequest_RequestedFile_ptr p)
{
CodeGeneratorRequest_RequestedFile_Import_list imports;
imports.p = capn_getp(p.p, 1, 0);
return imports;
}
void CodeGeneratorRequest_RequestedFile_set_id(CodeGeneratorRequest_RequestedFile_ptr p, uint64_t id)
{
capn_write64(p.p, 0, id);
}
void CodeGeneratorRequest_RequestedFile_set_filename(CodeGeneratorRequest_RequestedFile_ptr p, capn_text filename)
{
capn_set_text(p.p, 0, filename);
}
void CodeGeneratorRequest_RequestedFile_set_imports(CodeGeneratorRequest_RequestedFile_ptr p, CodeGeneratorRequest_RequestedFile_Import_list imports)
{
capn_setp(p.p, 1, imports.p);
}
CodeGeneratorRequest_RequestedFile_Import_ptr new_CodeGeneratorRequest_RequestedFile_Import(struct capn_segment *s) {
CodeGeneratorRequest_RequestedFile_Import_ptr p;
p.p = capn_new_struct(s, 8, 1);
@ -814,3 +1270,27 @@ void set_CodeGeneratorRequest_RequestedFile_Import(const struct CodeGeneratorReq
p.p = capn_getp(l.p, i, 0);
write_CodeGeneratorRequest_RequestedFile_Import(s, p);
}
uint64_t CodeGeneratorRequest_RequestedFile_Import_get_id(CodeGeneratorRequest_RequestedFile_Import_ptr p)
{
uint64_t id;
id = capn_read64(p.p, 0);
return id;
}
capn_text CodeGeneratorRequest_RequestedFile_Import_get_name(CodeGeneratorRequest_RequestedFile_Import_ptr p)
{
capn_text name;
name = capn_get_text(p.p, 0, capn_val0);
return name;
}
void CodeGeneratorRequest_RequestedFile_Import_set_id(CodeGeneratorRequest_RequestedFile_Import_ptr p, uint64_t id)
{
capn_write64(p.p, 0, id);
}
void CodeGeneratorRequest_RequestedFile_Import_set_name(CodeGeneratorRequest_RequestedFile_Import_ptr p, capn_text name)
{
capn_set_text(p.p, 0, name);
}

View file

@ -133,14 +133,76 @@ struct Node {
};
};
static const size_t Node_word_count = 5;
static const size_t Node_pointer_count = 6;
static const size_t Node_struct_bytes_count = 88;
uint64_t Node_get_id(Node_ptr p);
capn_text Node_get_displayName(Node_ptr p);
uint32_t Node_get_displayNamePrefixLength(Node_ptr p);
uint64_t Node_get_scopeId(Node_ptr p);
Node_Parameter_list Node_get_parameters(Node_ptr p);
unsigned Node_get_isGeneric(Node_ptr p);
Node_NestedNode_list Node_get_nestedNodes(Node_ptr p);
Annotation_list Node_get_annotations(Node_ptr p);
void Node_set_id(Node_ptr p, uint64_t id);
void Node_set_displayName(Node_ptr p, capn_text displayName);
void Node_set_displayNamePrefixLength(Node_ptr p, uint32_t displayNamePrefixLength);
void Node_set_scopeId(Node_ptr p, uint64_t scopeId);
void Node_set_parameters(Node_ptr p, Node_Parameter_list parameters);
void Node_set_isGeneric(Node_ptr p, unsigned isGeneric);
void Node_set_nestedNodes(Node_ptr p, Node_NestedNode_list nestedNodes);
void Node_set_annotations(Node_ptr p, Annotation_list annotations);
struct Node_Parameter {
capn_text name;
};
static const size_t Node_Parameter_word_count = 0;
static const size_t Node_Parameter_pointer_count = 1;
static const size_t Node_Parameter_struct_bytes_count = 8;
capn_text Node_Parameter_get_name(Node_Parameter_ptr p);
void Node_Parameter_set_name(Node_Parameter_ptr p, capn_text name);
struct Node_NestedNode {
capn_text name;
uint64_t id;
};
static const size_t Node_NestedNode_word_count = 1;
static const size_t Node_NestedNode_pointer_count = 1;
static const size_t Node_NestedNode_struct_bytes_count = 16;
capn_text Node_NestedNode_get_name(Node_NestedNode_ptr p);
uint64_t Node_NestedNode_get_id(Node_NestedNode_ptr p);
void Node_NestedNode_set_name(Node_NestedNode_ptr p, capn_text name);
void Node_NestedNode_set_id(Node_NestedNode_ptr p, uint64_t id);
enum Field_which {
Field_slot = 0,
Field_group = 1
@ -173,17 +235,71 @@ struct Field {
} ordinal;
};
static const size_t Field_word_count = 3;
static const size_t Field_pointer_count = 4;
static const size_t Field_struct_bytes_count = 56;
capn_text Field_get_name(Field_ptr p);
uint16_t Field_get_codeOrder(Field_ptr p);
Annotation_list Field_get_annotations(Field_ptr p);
uint16_t Field_get_discriminantValue(Field_ptr p);
void Field_set_name(Field_ptr p, capn_text name);
void Field_set_codeOrder(Field_ptr p, uint16_t codeOrder);
void Field_set_annotations(Field_ptr p, Annotation_list annotations);
void Field_set_discriminantValue(Field_ptr p, uint16_t discriminantValue);
struct Enumerant {
capn_text name;
uint16_t codeOrder;
Annotation_list annotations;
};
static const size_t Enumerant_word_count = 1;
static const size_t Enumerant_pointer_count = 2;
static const size_t Enumerant_struct_bytes_count = 24;
capn_text Enumerant_get_name(Enumerant_ptr p);
uint16_t Enumerant_get_codeOrder(Enumerant_ptr p);
Annotation_list Enumerant_get_annotations(Enumerant_ptr p);
void Enumerant_set_name(Enumerant_ptr p, capn_text name);
void Enumerant_set_codeOrder(Enumerant_ptr p, uint16_t codeOrder);
void Enumerant_set_annotations(Enumerant_ptr p, Annotation_list annotations);
struct Superclass {
uint64_t id;
Brand_ptr brand;
};
static const size_t Superclass_word_count = 1;
static const size_t Superclass_pointer_count = 1;
static const size_t Superclass_struct_bytes_count = 16;
uint64_t Superclass_get_id(Superclass_ptr p);
Brand_ptr Superclass_get_brand(Superclass_ptr p);
void Superclass_set_id(Superclass_ptr p, uint64_t id);
void Superclass_set_brand(Superclass_ptr p, Brand_ptr brand);
struct Method {
capn_text name;
uint16_t codeOrder;
@ -194,6 +310,44 @@ struct Method {
Brand_ptr resultBrand;
Annotation_list annotations;
};
static const size_t Method_word_count = 3;
static const size_t Method_pointer_count = 5;
static const size_t Method_struct_bytes_count = 64;
capn_text Method_get_name(Method_ptr p);
uint16_t Method_get_codeOrder(Method_ptr p);
Node_Parameter_list Method_get_implicitParameters(Method_ptr p);
uint64_t Method_get_paramStructType(Method_ptr p);
Brand_ptr Method_get_paramBrand(Method_ptr p);
uint64_t Method_get_resultStructType(Method_ptr p);
Brand_ptr Method_get_resultBrand(Method_ptr p);
Annotation_list Method_get_annotations(Method_ptr p);
void Method_set_name(Method_ptr p, capn_text name);
void Method_set_codeOrder(Method_ptr p, uint16_t codeOrder);
void Method_set_implicitParameters(Method_ptr p, Node_Parameter_list implicitParameters);
void Method_set_paramStructType(Method_ptr p, uint64_t paramStructType);
void Method_set_paramBrand(Method_ptr p, Brand_ptr paramBrand);
void Method_set_resultStructType(Method_ptr p, uint64_t resultStructType);
void Method_set_resultBrand(Method_ptr p, Brand_ptr resultBrand);
void Method_set_annotations(Method_ptr p, Annotation_list annotations);
enum Type_anyPointer_which {
Type_anyPointer_unconstrained = 0,
Type_anyPointer_parameter = 1,
@ -252,9 +406,25 @@ struct Type {
};
};
static const size_t Type_word_count = 3;
static const size_t Type_pointer_count = 1;
static const size_t Type_struct_bytes_count = 32;
struct Brand {
Brand_Scope_list scopes;
};
static const size_t Brand_word_count = 0;
static const size_t Brand_pointer_count = 1;
static const size_t Brand_struct_bytes_count = 8;
Brand_Scope_list Brand_get_scopes(Brand_ptr p);
void Brand_set_scopes(Brand_ptr p, Brand_Scope_list scopes);
enum Brand_Scope_which {
Brand_Scope_bind = 0,
Brand_Scope_inherit = 1
@ -267,6 +437,16 @@ struct Brand_Scope {
Brand_Binding_list bind;
};
};
static const size_t Brand_Scope_word_count = 2;
static const size_t Brand_Scope_pointer_count = 1;
static const size_t Brand_Scope_struct_bytes_count = 24;
uint64_t Brand_Scope_get_scopeId(Brand_Scope_ptr p);
void Brand_Scope_set_scopeId(Brand_Scope_ptr p, uint64_t scopeId);
enum Brand_Binding_which {
Brand_Binding_unbound = 0,
Brand_Binding_type = 1
@ -278,6 +458,12 @@ struct Brand_Binding {
Type_ptr type;
};
};
static const size_t Brand_Binding_word_count = 1;
static const size_t Brand_Binding_pointer_count = 1;
static const size_t Brand_Binding_struct_bytes_count = 16;
enum Value_which {
Value__void = 0,
Value__bool = 1,
@ -323,28 +509,98 @@ struct Value {
};
};
static const size_t Value_word_count = 2;
static const size_t Value_pointer_count = 1;
static const size_t Value_struct_bytes_count = 24;
struct Annotation {
uint64_t id;
Brand_ptr brand;
Value_ptr value;
};
static const size_t Annotation_word_count = 1;
static const size_t Annotation_pointer_count = 2;
static const size_t Annotation_struct_bytes_count = 24;
uint64_t Annotation_get_id(Annotation_ptr p);
Brand_ptr Annotation_get_brand(Annotation_ptr p);
Value_ptr Annotation_get_value(Annotation_ptr p);
void Annotation_set_id(Annotation_ptr p, uint64_t id);
void Annotation_set_brand(Annotation_ptr p, Brand_ptr brand);
void Annotation_set_value(Annotation_ptr p, Value_ptr value);
struct CodeGeneratorRequest {
Node_list nodes;
CodeGeneratorRequest_RequestedFile_list requestedFiles;
};
static const size_t CodeGeneratorRequest_word_count = 0;
static const size_t CodeGeneratorRequest_pointer_count = 2;
static const size_t CodeGeneratorRequest_struct_bytes_count = 16;
Node_list CodeGeneratorRequest_get_nodes(CodeGeneratorRequest_ptr p);
CodeGeneratorRequest_RequestedFile_list CodeGeneratorRequest_get_requestedFiles(CodeGeneratorRequest_ptr p);
void CodeGeneratorRequest_set_nodes(CodeGeneratorRequest_ptr p, Node_list nodes);
void CodeGeneratorRequest_set_requestedFiles(CodeGeneratorRequest_ptr p, CodeGeneratorRequest_RequestedFile_list requestedFiles);
struct CodeGeneratorRequest_RequestedFile {
uint64_t id;
capn_text filename;
CodeGeneratorRequest_RequestedFile_Import_list imports;
};
static const size_t CodeGeneratorRequest_RequestedFile_word_count = 1;
static const size_t CodeGeneratorRequest_RequestedFile_pointer_count = 2;
static const size_t CodeGeneratorRequest_RequestedFile_struct_bytes_count = 24;
uint64_t CodeGeneratorRequest_RequestedFile_get_id(CodeGeneratorRequest_RequestedFile_ptr p);
capn_text CodeGeneratorRequest_RequestedFile_get_filename(CodeGeneratorRequest_RequestedFile_ptr p);
CodeGeneratorRequest_RequestedFile_Import_list CodeGeneratorRequest_RequestedFile_get_imports(CodeGeneratorRequest_RequestedFile_ptr p);
void CodeGeneratorRequest_RequestedFile_set_id(CodeGeneratorRequest_RequestedFile_ptr p, uint64_t id);
void CodeGeneratorRequest_RequestedFile_set_filename(CodeGeneratorRequest_RequestedFile_ptr p, capn_text filename);
void CodeGeneratorRequest_RequestedFile_set_imports(CodeGeneratorRequest_RequestedFile_ptr p, CodeGeneratorRequest_RequestedFile_Import_list imports);
struct CodeGeneratorRequest_RequestedFile_Import {
uint64_t id;
capn_text name;
};
static const size_t CodeGeneratorRequest_RequestedFile_Import_word_count = 1;
static const size_t CodeGeneratorRequest_RequestedFile_Import_pointer_count = 1;
static const size_t CodeGeneratorRequest_RequestedFile_Import_struct_bytes_count = 16;
uint64_t CodeGeneratorRequest_RequestedFile_Import_get_id(CodeGeneratorRequest_RequestedFile_Import_ptr p);
capn_text CodeGeneratorRequest_RequestedFile_Import_get_name(CodeGeneratorRequest_RequestedFile_Import_ptr p);
void CodeGeneratorRequest_RequestedFile_Import_set_id(CodeGeneratorRequest_RequestedFile_Import_ptr p, uint64_t id);
void CodeGeneratorRequest_RequestedFile_Import_set_name(CodeGeneratorRequest_RequestedFile_Import_ptr p, capn_text name);
Node_ptr new_Node(struct capn_segment*);
Node_Parameter_ptr new_Node_Parameter(struct capn_segment*);
Node_NestedNode_ptr new_Node_NestedNode(struct capn_segment*);

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff