Declare all implemented interfaces in the protocol list of a bound struct. This is the ObjC equivalent of similar functionality for Java. Change-Id: Ibaea881f57fecf8a0716d25ec925de43974fe0fe Reviewed-on: https://go-review.googlesource.com/52010 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
// Objective-C API for talking to issue10788 Go package.
|
|
// gobind -lang=objc issue10788
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#ifndef __Issue10788_H__
|
|
#define __Issue10788_H__
|
|
|
|
@import Foundation;
|
|
#include "Universe.objc.h"
|
|
|
|
|
|
@class Issue10788TestStruct;
|
|
@protocol Issue10788TestInterface;
|
|
@class Issue10788TestInterface;
|
|
|
|
@protocol Issue10788TestInterface <NSObject>
|
|
- (void)doSomeWork:(Issue10788TestStruct*)s;
|
|
- (void)multipleUnnamedParams:(long)p0 p1:(NSString*)p1 日本:(int64_t)日本;
|
|
@end
|
|
|
|
@interface Issue10788TestStruct : NSObject <goSeqRefInterface> {
|
|
}
|
|
@property(strong, readonly) id _ref;
|
|
|
|
- (instancetype)initWithRef:(id)ref;
|
|
- (instancetype)init;
|
|
- (NSString*)value;
|
|
- (void)setValue:(NSString*)v;
|
|
@end
|
|
|
|
@class Issue10788TestInterface;
|
|
|
|
@interface Issue10788TestInterface : NSObject <goSeqRefInterface, Issue10788TestInterface> {
|
|
}
|
|
@property(strong, readonly) id _ref;
|
|
|
|
- (instancetype)initWithRef:(id)ref;
|
|
- (void)doSomeWork:(Issue10788TestStruct*)s;
|
|
- (void)multipleUnnamedParams:(long)p0 p1:(NSString*)p1 日本:(int64_t)日本;
|
|
@end
|
|
|
|
#endif
|