Since the Go package name is already prefixed to generated ObjC names, the empty extra prefix is useful. Support that by not reverting to the default extra prefix, "Go", if -prefix "" is specified. To avoid file name clashes with the Go header files, add ".objc" to the ObjC-facing header names. Change-Id: I559fe60d7474521617f23894af247c6019ff2a21 Reviewed-on: https://go-review.googlesource.com/33954 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
21 lines
416 B
Plaintext
21 lines
416 B
Plaintext
// Objective-C API for talking to try Go package.
|
|
// gobind -lang=objc try
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#include <Foundation/Foundation.h>
|
|
#include "seq.h"
|
|
#include "_cgo_export.h"
|
|
#include "GoTry.objc.h"
|
|
|
|
|
|
NSString* GoTryThis() {
|
|
nstring r0 = proxytry__This();
|
|
NSString *_ret0_ = go_seq_to_objc_string(r0);
|
|
return _ret0_;
|
|
}
|
|
|
|
__attribute__((constructor)) static void init() {
|
|
init_seq();
|
|
}
|