Updates golang/go#12273 Change-Id: I8eac3e84d5a473e9ffe45705cea88537573aef61 Reviewed-on: https://go-review.googlesource.com/13873 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
30 lines
557 B
Plaintext
30 lines
557 B
Plaintext
// Objective-C API for talking to try Go package.
|
|
// gobind -lang=objc try
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#include "GoTry.h"
|
|
#include <Foundation/Foundation.h>
|
|
#include "seq.h"
|
|
|
|
static NSString* errDomain = @"go.try";
|
|
|
|
@protocol goSeqRefInterface
|
|
-(GoSeqRef*) ref;
|
|
@end
|
|
|
|
#define _DESCRIPTOR_ "try"
|
|
|
|
#define _CALL_This_ 1
|
|
|
|
NSString* GoTryThis() {
|
|
GoSeq in_ = {};
|
|
GoSeq out_ = {};
|
|
go_seq_send(_DESCRIPTOR_, _CALL_This_, &in_, &out_);
|
|
NSString* ret0_ = go_seq_readUTF8(&out_);
|
|
go_seq_free(&in_);
|
|
go_seq_free(&out_);
|
|
return ret0_;
|
|
}
|
|
|