1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
// Objective-C API for talking to vars Go package.
// gobind -lang=objc vars
//
// File is generated by gobind. Do not edit.
#ifndef __Vars_H__
#define __Vars_H__
@import Foundation;
#include "ref.h"
#include "Universe.objc.h"
@class VarsS;
@protocol VarsI;
@class VarsI;
@protocol VarsI <NSObject>
@end
@interface VarsS : NSObject <goSeqRefInterface, VarsI> {
}
@property(strong, readonly) _Nonnull id _ref;
- (nonnull instancetype)initWithRef:(_Nonnull id)ref;
- (nonnull instancetype)init;
@end
@interface Vars : NSObject
+ (BOOL) aBool;
+ (void) setABool:(BOOL)v;
+ (double) aFloat;
+ (void) setAFloat:(double)v;
+ (float) aFloat32;
+ (void) setAFloat32:(float)v;
+ (double) aFloat64;
+ (void) setAFloat64:(double)v;
+ (NSString* _Nonnull) aString;
+ (void) setAString:(NSString* _Nonnull)v;
+ (VarsS* _Nullable) aStructPtr;
+ (void) setAStructPtr:(VarsS* _Nullable)v;
+ (long) anInt;
+ (void) setAnInt:(long)v;
+ (int16_t) anInt16;
+ (void) setAnInt16:(int16_t)v;
+ (int32_t) anInt32;
+ (void) setAnInt32:(int32_t)v;
+ (int64_t) anInt64;
+ (void) setAnInt64:(int64_t)v;
+ (int8_t) anInt8;
+ (void) setAnInt8:(int8_t)v;
+ (id<VarsI> _Nullable) anInterface;
+ (void) setAnInterface:(id<VarsI> _Nullable)v;
@end
@class VarsI;
@interface VarsI : NSObject <goSeqRefInterface, VarsI> {
}
@property(strong, readonly) _Nonnull id _ref;
- (nonnull instancetype)initWithRef:(_Nonnull id)ref;
@end
#endif
|