Add new and new list funcs
This commit is contained in:
parent
3798d34428
commit
2ded64d310
4 changed files with 211 additions and 2 deletions
|
|
@ -67,6 +67,46 @@ typedef struct {capn_ptr p;} ConstNode_list;
|
|||
typedef struct {capn_ptr p;} AnnotationNode_list;
|
||||
typedef struct {capn_ptr p;} CodeGeneratorRequest_list;
|
||||
|
||||
Node_ptr new_Node(struct capn_segment*);
|
||||
Node_NestedNode_ptr new_Node_NestedNode(struct capn_segment*);
|
||||
Type_ptr new_Type(struct capn_segment*);
|
||||
Value_ptr new_Value(struct capn_segment*);
|
||||
Annotation_ptr new_Annotation(struct capn_segment*);
|
||||
FileNode_ptr new_FileNode(struct capn_segment*);
|
||||
FileNode_Import_ptr new_FileNode_Import(struct capn_segment*);
|
||||
StructNode_ptr new_StructNode(struct capn_segment*);
|
||||
StructNode_Member_ptr new_StructNode_Member(struct capn_segment*);
|
||||
StructNode_Field_ptr new_StructNode_Field(struct capn_segment*);
|
||||
StructNode_Union_ptr new_StructNode_Union(struct capn_segment*);
|
||||
EnumNode_ptr new_EnumNode(struct capn_segment*);
|
||||
EnumNode_Enumerant_ptr new_EnumNode_Enumerant(struct capn_segment*);
|
||||
InterfaceNode_ptr new_InterfaceNode(struct capn_segment*);
|
||||
InterfaceNode_Method_ptr new_InterfaceNode_Method(struct capn_segment*);
|
||||
InterfaceNode_Method_Param_ptr new_InterfaceNode_Method_Param(struct capn_segment*);
|
||||
ConstNode_ptr new_ConstNode(struct capn_segment*);
|
||||
AnnotationNode_ptr new_AnnotationNode(struct capn_segment*);
|
||||
CodeGeneratorRequest_ptr new_CodeGeneratorRequest(struct capn_segment*);
|
||||
|
||||
Node_list new_Node_list(struct capn_segment*, int len);
|
||||
Node_NestedNode_list new_Node_NestedNode_list(struct capn_segment*, int len);
|
||||
Type_list new_Type_list(struct capn_segment*, int len);
|
||||
Value_list new_Value_list(struct capn_segment*, int len);
|
||||
Annotation_list new_Annotation_list(struct capn_segment*, int len);
|
||||
FileNode_list new_FileNode_list(struct capn_segment*, int len);
|
||||
FileNode_Import_list new_FileNode_Import_list(struct capn_segment*, int len);
|
||||
StructNode_list new_StructNode_list(struct capn_segment*, int len);
|
||||
StructNode_Member_list new_StructNode_Member_list(struct capn_segment*, int len);
|
||||
StructNode_Field_list new_StructNode_Field_list(struct capn_segment*, int len);
|
||||
StructNode_Union_list new_StructNode_Union_list(struct capn_segment*, int len);
|
||||
EnumNode_list new_EnumNode_list(struct capn_segment*, int len);
|
||||
EnumNode_Enumerant_list new_EnumNode_Enumerant_list(struct capn_segment*, int len);
|
||||
InterfaceNode_list new_InterfaceNode_list(struct capn_segment*, int len);
|
||||
InterfaceNode_Method_list new_InterfaceNode_Method_list(struct capn_segment*, int len);
|
||||
InterfaceNode_Method_Param_list new_InterfaceNode_Method_Param_list(struct capn_segment*, int len);
|
||||
ConstNode_list new_ConstNode_list(struct capn_segment*, int len);
|
||||
AnnotationNode_list new_AnnotationNode_list(struct capn_segment*, int len);
|
||||
CodeGeneratorRequest_list new_CodeGeneratorRequest_list(struct capn_segment*, int len);
|
||||
|
||||
void read_Node(struct Node*, Node_ptr);
|
||||
void read_Node_NestedNode(struct Node_NestedNode*, Node_NestedNode_ptr);
|
||||
void read_Type(struct Type*, Type_ptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue