From Xcode 10.2 onwards, these annotations are required in all interface declarations. The behaviour can be disabled, but since we were already annotated most types it made sense to just annotate the rest. Change-Id: Iacd09a2fea4dfb3e22fec97cf4ca22966fc783bf GitHub-Last-Rev: a431572a83ea8b29f55813bcdafc9a00f8d15972 GitHub-Pull-Request: golang/mobile#29 Reviewed-on: https://go-review.googlesource.com/c/mobile/+/171957 Reviewed-by: Elias Naur <mail@eliasnaur.com>
34 lines
838 B
Plaintext
34 lines
838 B
Plaintext
// Objective-C API for talking to issue12403 Go package.
|
|
// gobind -lang=objc issue12403
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#ifndef __Issue12403_H__
|
|
#define __Issue12403_H__
|
|
|
|
@import Foundation;
|
|
#include "ref.h"
|
|
#include "Universe.objc.h"
|
|
|
|
|
|
@protocol Issue12403Parsable;
|
|
@class Issue12403Parsable;
|
|
|
|
@protocol Issue12403Parsable <NSObject>
|
|
- (NSString* _Nonnull)fromJSON:(NSString* _Nullable)jstr;
|
|
- (NSString* _Nonnull)toJSON:(NSError* _Nullable* _Nullable)error;
|
|
@end
|
|
|
|
@class Issue12403Parsable;
|
|
|
|
@interface Issue12403Parsable : NSObject <goSeqRefInterface, Issue12403Parsable> {
|
|
}
|
|
@property(strong, readonly) _Nonnull id _ref;
|
|
|
|
- (nonnull instancetype)initWithRef:(_Nonnull id)ref;
|
|
- (NSString* _Nonnull)fromJSON:(NSString* _Nullable)jstr;
|
|
- (NSString* _Nonnull)toJSON:(NSError* _Nullable* _Nullable)error;
|
|
@end
|
|
|
|
#endif
|