mirror of
https://github.com/netbirdio/gomobile-tvos-fork.git
synced 2026-05-22 18:43:29 -07:00
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
755 B
Plaintext
34 lines
755 B
Plaintext
// Objective-C API for talking to underscores Go package.
|
|
// gobind -lang=objc underscores
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#ifndef __Underscore_pkg_H__
|
|
#define __Underscore_pkg_H__
|
|
|
|
@import Foundation;
|
|
#include "ref.h"
|
|
#include "Universe.objc.h"
|
|
|
|
|
|
@class Underscore_pkgUnderscore_struct;
|
|
|
|
@interface Underscore_pkgUnderscore_struct : NSObject <goSeqRefInterface> {
|
|
}
|
|
@property(strong, readonly) _Nonnull id _ref;
|
|
|
|
- (nonnull instancetype)initWithRef:(_Nonnull id)ref;
|
|
- (nonnull instancetype)init;
|
|
@property (nonatomic) NSString* _Nonnull underscore_field;
|
|
@end
|
|
|
|
@interface Underscore_pkg : NSObject
|
|
+ (long) underscore_var;
|
|
+ (void) setUnderscore_var:(long)v;
|
|
|
|
@end
|
|
|
|
FOUNDATION_EXPORT void Underscore_pkgUnderscore_func(void);
|
|
|
|
#endif
|