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

@ -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*);