2015-10-01 22:04:03 -04:00
|
|
|
// Objective-C API for talking to vars Go package.
|
|
|
|
// gobind -lang=objc vars
|
|
|
|
//
|
|
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
|
2016-12-23 11:18:18 +01:00
|
|
|
#ifndef __Vars_H__
|
|
|
|
#define __Vars_H__
|
2015-10-01 22:04:03 -04:00
|
|
|
|
2016-09-13 06:11:15 +02:00
|
|
|
@import Foundation;
|
2016-12-23 11:18:18 +01:00
|
|
|
#include "Universe.objc.h"
|
2015-10-01 22:04:03 -04:00
|
|
|
|
2016-09-13 06:11:15 +02:00
|
|
|
|
2016-12-23 11:18:18 +01:00
|
|
|
@class VarsS;
|
|
|
|
@protocol VarsI;
|
|
|
|
@class VarsI;
|
2015-10-01 22:04:03 -04:00
|
|
|
|
2017-07-30 13:20:52 +02:00
|
|
|
@protocol VarsI <NSObject>
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface VarsS : NSObject <goSeqRefInterface, VarsI> {
|
2015-10-01 22:04:03 -04:00
|
|
|
}
|
2015-10-12 15:50:24 -04:00
|
|
|
@property(strong, readonly) id _ref;
|
2015-10-01 22:04:03 -04:00
|
|
|
|
2017-07-30 12:35:42 +02:00
|
|
|
- (instancetype)initWithRef:(id)ref;
|
|
|
|
- (instancetype)init;
|
2015-10-01 22:04:03 -04:00
|
|
|
@end
|
|
|
|
|
2016-12-23 11:18:18 +01:00
|
|
|
@interface Vars : NSObject
|
2015-10-12 15:50:24 -04:00
|
|
|
+ (BOOL) aBool;
|
2015-10-12 12:27:29 -04:00
|
|
|
+ (void) setABool:(BOOL)v;
|
2015-10-12 15:50:24 -04:00
|
|
|
|
|
|
|
+ (double) aFloat;
|
2015-10-12 12:27:29 -04:00
|
|
|
+ (void) setAFloat:(double)v;
|
2015-10-12 15:50:24 -04:00
|
|
|
|
|
|
|
+ (float) aFloat32;
|
2015-10-12 12:27:29 -04:00
|
|
|
+ (void) setAFloat32:(float)v;
|
2015-10-12 15:50:24 -04:00
|
|
|
|
|
|
|
+ (double) aFloat64;
|
2015-10-12 12:27:29 -04:00
|
|
|
+ (void) setAFloat64:(double)v;
|
2015-10-12 15:50:24 -04:00
|
|
|
|
|
|
|
+ (NSString*) aString;
|
2015-10-12 12:27:29 -04:00
|
|
|
+ (void) setAString:(NSString*)v;
|
2015-10-12 15:50:24 -04:00
|
|
|
|
2016-12-23 11:18:18 +01:00
|
|
|
+ (VarsS*) aStructPtr;
|
|
|
|
+ (void) setAStructPtr:(VarsS*)v;
|
2015-10-12 15:50:24 -04:00
|
|
|
|
2016-07-07 11:44:39 -04:00
|
|
|
+ (long) anInt;
|
|
|
|
+ (void) setAnInt:(long)v;
|
2015-10-12 15:50:24 -04:00
|
|
|
|
|
|
|
+ (int16_t) anInt16;
|
2015-10-12 12:27:29 -04:00
|
|
|
+ (void) setAnInt16:(int16_t)v;
|
2015-10-12 15:50:24 -04:00
|
|
|
|
|
|
|
+ (int32_t) anInt32;
|
2015-10-12 12:27:29 -04:00
|
|
|
+ (void) setAnInt32:(int32_t)v;
|
2015-10-12 15:50:24 -04:00
|
|
|
|
|
|
|
+ (int64_t) anInt64;
|
2015-10-12 12:27:29 -04:00
|
|
|
+ (void) setAnInt64:(int64_t)v;
|
2015-10-12 15:50:24 -04:00
|
|
|
|
|
|
|
+ (int8_t) anInt8;
|
2015-10-12 12:27:29 -04:00
|
|
|
+ (void) setAnInt8:(int8_t)v;
|
2015-10-12 15:50:24 -04:00
|
|
|
|
2016-12-23 11:18:18 +01:00
|
|
|
+ (id<VarsI>) anInterface;
|
|
|
|
+ (void) setAnInterface:(id<VarsI>)v;
|
2015-10-12 15:50:24 -04:00
|
|
|
|
2015-10-12 12:27:29 -04:00
|
|
|
@end
|
2015-10-12 15:50:24 -04:00
|
|
|
|
2016-12-23 11:18:18 +01:00
|
|
|
@class VarsI;
|
2016-03-11 11:52:33 +01:00
|
|
|
|
2016-12-23 11:18:18 +01:00
|
|
|
@interface VarsI : NSObject <goSeqRefInterface, VarsI> {
|
2016-03-11 11:52:33 +01:00
|
|
|
}
|
|
|
|
@property(strong, readonly) id _ref;
|
|
|
|
|
2016-09-19 12:44:13 +02:00
|
|
|
- (instancetype)initWithRef:(id)ref;
|
2016-03-11 11:52:33 +01:00
|
|
|
@end
|
|
|
|
|
2015-10-01 22:04:03 -04:00
|
|
|
#endif
|