2
0
mirror of synced 2025-02-24 07:18:15 +00:00
mobile/bind/testdata/try.objc.m.golden
Hyang-Ah (Hana) Kim 51389df416 bind/objc: use lowercase for method names.
Fixes golang/go#12889.

Change-Id: I4b8f5e4b2c4fe53146fc351889664cbeb5a1860b
Reviewed-on: https://go-review.googlesource.com/15780
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-10-13 18:34:52 +00:00

30 lines
558 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_;
}