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.
|
|
|
|
|
|
|
|
#ifndef __GoVars_H__
|
|
|
|
#define __GoVars_H__
|
|
|
|
|
|
|
|
#include <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
@class GoVarsS;
|
2015-10-21 21:26:17 -04:00
|
|
|
@protocol GoVarsI;
|
|
|
|
@class GoVarsI;
|
2015-10-01 22:04:03 -04:00
|
|
|
|
|
|
|
@interface GoVarsS : NSObject {
|
|
|
|
}
|
2015-10-12 15:50:24 -04:00
|
|
|
@property(strong, readonly) id _ref;
|
2015-10-01 22:04:03 -04:00
|
|
|
|
|
|
|
- (id)initWithRef:(id)ref;
|
|
|
|
@end
|
|
|
|
|
2015-10-21 21:26:17 -04:00
|
|
|
@protocol GoVarsI
|
|
|
|
@end
|
|
|
|
|
2015-10-12 12:27:29 -04:00
|
|
|
@interface GoVars : 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
|
|
|
|
|
|
|
+ (GoVarsS*) aStructPtr;
|
2015-10-12 12:27:29 -04:00
|
|
|
+ (void) setAStructPtr:(GoVarsS*)v;
|
2015-10-12 15:50:24 -04:00
|
|
|
|
|
|
|
+ (int) anInt;
|
2015-10-12 12:27:29 -04:00
|
|
|
+ (void) setAnInt:(int)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
|
|
|
|
|
|
|
+ (id<GoVarsI>) anInterface;
|
2015-10-12 12:27:29 -04:00
|
|
|
+ (void) setAnInterface:(id<GoVarsI>)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
|
|
|
|
2015-10-01 22:04:03 -04:00
|
|
|
#endif
|