Before this change, func Hello() of mypkg package generated a function GoMypkg_Hello to distinguish the prefix from the function name. It seems the use of '_' is very rare in Objective-C though. After this change, it generates GoMypkgHello. Change-Id: Ic7aa2b667363a447a5ff3500262502d3137d6853 Reviewed-on: https://go-review.googlesource.com/11893 Reviewed-by: Damien Neil <dneil@google.com>
26 lines
472 B
Plaintext
26 lines
472 B
Plaintext
// Objective-C API for talking to issue10788 Go package.
|
|
// gobind -lang=objc issue10788
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#ifndef __GoIssue10788_H__
|
|
#define __GoIssue10788_H__
|
|
|
|
#include "seq.h"
|
|
|
|
@class GoIssue10788TestInterface;
|
|
|
|
@class GoIssue10788TestStruct;
|
|
|
|
|
|
@interface GoIssue10788TestStruct : NSObject {
|
|
}
|
|
@property(strong, readonly) GoSeqRef *ref;
|
|
|
|
- (id)initWithRef:(GoSeqRef*)ref;
|
|
- (NSString*)Value;
|
|
- (void)setValue:(NSString*)v;
|
|
@end
|
|
|
|
#endif
|