本文整理匯總了Golang中github.com/jmckaskill/go-capnproto.Object函數的典型用法代碼示例。如果您正苦於以下問題:Golang Object函數的具體用法?Golang Object怎麽用?Golang Object使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了Object函數的14個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Golang代碼示例。
示例1: SetImports
func (s CodeGeneratorRequestRequestedFile) SetImports(v CodeGeneratorRequestRequestedFileImport_List) {
C.Struct(s).SetObject(1, C.Object(v))
}
示例2: SetNodes
func (s CodeGeneratorRequest) SetNodes(v Node_List) { C.Struct(s).SetObject(0, C.Object(v)) }
示例3: SetRequestedFiles
func (s CodeGeneratorRequest) SetRequestedFiles(v CodeGeneratorRequestRequestedFile_List) {
C.Struct(s).SetObject(1, C.Object(v))
}
示例4: SetType
func (s FieldSlot) SetType(v Type) { C.Struct(s).SetObject(2, C.Object(v)) }
示例5: SetAnnotations
func (s Node) SetAnnotations(v Annotation_List) { C.Struct(s).SetObject(2, C.Object(v)) }
示例6: SetMethods
func (s NodeInterface) SetMethods(v Method_List) { C.Struct(s).SetObject(3, C.Object(v)) }
示例7: SetValue
func (s NodeConst) SetValue(v Value) { C.Struct(s).SetObject(4, C.Object(v)) }
示例8: SetDefaultValue
func (s MethodParam) SetDefaultValue(v Value) { C.Struct(s).SetObject(2, C.Object(v)) }
示例9: SetReturnType
func (s Method) SetReturnType(v Type) { C.Struct(s).SetObject(2, C.Object(v)) }
示例10: SetParams
func (s Method) SetParams(v MethodParam_List) { C.Struct(s).SetObject(1, C.Object(v)) }
示例11: SetFields
func (s NodeStruct) SetFields(v Field_List) { C.Struct(s).SetObject(3, C.Object(v)) }
示例12: SetElementType
func (s TypeList) SetElementType(v Type) { C.Struct(s).SetObject(0, C.Object(v)) }
示例13: SetEnumerants
func (s NodeEnum) SetEnumerants(v Enumerant_List) { C.Struct(s).SetObject(3, C.Object(v)) }
示例14: SetNestedNodes
func (s Node) SetNestedNodes(v NodeNestedNode_List) { C.Struct(s).SetObject(1, C.Object(v)) }