Fixes golang/go#12330 Change-Id: I1568d04b7e48242105a7028ca471e2138f684eeb Reviewed-on: https://go-review.googlesource.com/13946 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
52 lines
927 B
Plaintext
52 lines
927 B
Plaintext
// Objective-C API for talking to interfaces Go package.
|
|
// gobind -lang=objc interfaces
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#ifndef __GoInterfaces_H__
|
|
#define __GoInterfaces_H__
|
|
|
|
#include <Foundation/Foundation.h>
|
|
|
|
@protocol GoInterfacesError
|
|
- (BOOL)Err:(NSError**)error;
|
|
@end
|
|
|
|
@protocol GoInterfacesI
|
|
- (int32_t)Rand;
|
|
@end
|
|
|
|
@interface GoInterfacesI1 : NSObject {
|
|
}
|
|
@property(strong, readonly) id ref;
|
|
|
|
- (id)initWithRef:(id)ref;
|
|
- (void)J;
|
|
@end
|
|
|
|
|
|
@interface GoInterfacesI2 : NSObject {
|
|
}
|
|
@property(strong, readonly) id ref;
|
|
|
|
- (id)initWithRef:(id)ref;
|
|
- (void)G;
|
|
@end
|
|
|
|
|
|
@protocol GoInterfacesI3
|
|
- (id<GoInterfacesI1>)F;
|
|
@end
|
|
|
|
@protocol GoInterfacesWithParam
|
|
- (void)HasParam:(BOOL)p0;
|
|
@end
|
|
|
|
FOUNDATION_EXPORT int32_t GoInterfacesAdd3(id<GoInterfacesI> r);
|
|
|
|
FOUNDATION_EXPORT BOOL GoInterfacesCallErr(id<GoInterfacesError> e, NSError** error);
|
|
|
|
FOUNDATION_EXPORT id<GoInterfacesI> GoInterfacesSeven();
|
|
|
|
#endif
|