github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/mobile/bind/testdata/try.objc.m.golden (about) 1 // Objective-C API for talking to try Go package. 2 // gobind -lang=objc try 3 // 4 // File is generated by gobind. Do not edit. 5 6 #include "GoTry.h" 7 #include <Foundation/Foundation.h> 8 #include "seq.h" 9 10 static NSString* errDomain = @"go.try"; 11 12 @protocol goSeqRefInterface 13 -(GoSeqRef*) _ref; 14 @end 15 16 #define _DESCRIPTOR_ "try" 17 18 #define _CALL_This_ 1 19 20 NSString* GoTryThis() { 21 GoSeq in_ = {}; 22 GoSeq out_ = {}; 23 go_seq_send(_DESCRIPTOR_, _CALL_This_, &in_, &out_); 24 NSString* ret0_ = go_seq_readUTF8(&out_); 25 go_seq_free(&in_); 26 go_seq_free(&out_); 27 return ret0_; 28 } 29