Since generated names now have their package names prefixed, the extra prefix, "Go", is both confusing and counter-productive to making the generated ObjC code look like any other native code. Change the default to the empty prefix, while preserving support for an explicit prefix if needed. This is a backwards incompatible change; to keep the old behaviour, specify "-prefix Go" to the gobind or gomobile command. While we're here, fix the Ivy example for the recent change in error returns. Change-Id: I7fef4a92a18ddadee972ccf359652e3b31624f33 Reviewed-on: https://go-review.googlesource.com/34643 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
67 lines
1.4 KiB
Plaintext
67 lines
1.4 KiB
Plaintext
// Objective-C API for talking to ignore Go package.
|
|
// gobind -lang=objc ignore
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#ifndef __Ignore_H__
|
|
#define __Ignore_H__
|
|
|
|
@import Foundation;
|
|
#include "Universe.objc.h"
|
|
|
|
|
|
@class IgnoreS;
|
|
@protocol IgnoreI;
|
|
@class IgnoreI;
|
|
|
|
@interface IgnoreS : NSObject <goSeqRefInterface> {
|
|
}
|
|
@property(strong, readonly) id _ref;
|
|
|
|
- (id)initWithRef:(id)ref;
|
|
// skipped field S.F with unsupported type: *types.Interface
|
|
|
|
// skipped method S.Argument with unsupported parameter or return types
|
|
|
|
// skipped method S.Result with unsupported parameter or return types
|
|
|
|
@end
|
|
|
|
@protocol IgnoreI <NSObject>
|
|
// skipped method I.Argument with unsupported parameter or return types
|
|
|
|
// skipped method I.Result with unsupported parameter or return types
|
|
|
|
@end
|
|
|
|
// skipped const NamedConst with unsupported type: *types.Const
|
|
|
|
|
|
@interface Ignore : NSObject
|
|
// skipped variable V with unsupported type: *types.Interface
|
|
|
|
// skipped variable Var with unsupported type: *types.Interface
|
|
|
|
@end
|
|
|
|
// skipped function Argument with unsupported parameter or return types
|
|
|
|
|
|
// skipped function Result with unsupported parameter or return types
|
|
|
|
|
|
@class IgnoreI;
|
|
|
|
@interface IgnoreI : NSObject <goSeqRefInterface, IgnoreI> {
|
|
}
|
|
@property(strong, readonly) id _ref;
|
|
|
|
- (instancetype)initWithRef:(id)ref;
|
|
// skipped method I.Argument with unsupported parameter or return types
|
|
|
|
// skipped method I.Result with unsupported parameter or return types
|
|
|
|
@end
|
|
|
|
#endif
|