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