Files
gomobile-tvos-fork/bind/testdata/underscores.objc.h.golden
Juan Pablo CivileandElias Naur 28c689b77b bind: annotate all remaining ObjC types for nullability
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>
2019-04-12 20:20:09 +00:00

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