2
0
mirror of synced 2025-02-24 15:28:28 +00:00
mobile/bind/testdata/vars.objc.h.golden
Hyang-Ah (Hana) Kim 51389df416 bind/objc: use lowercase for method names.
Fixes golang/go#12889.

Change-Id: I4b8f5e4b2c4fe53146fc351889664cbeb5a1860b
Reviewed-on: https://go-review.googlesource.com/15780
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-10-13 18:34:52 +00:00

63 lines
1.0 KiB
Plaintext

// 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;
@protocol GoVarsI
@end
@interface GoVarsS : NSObject {
}
@property(strong, readonly) id _ref;
- (id)initWithRef:(id)ref;
@end
@interface GoVars : 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*) aString;
+ (void) setAString:(NSString*)v;
+ (GoVarsS*) aStructPtr;
+ (void) setAStructPtr:(GoVarsS*)v;
+ (int) anInt;
+ (void) setAnInt:(int)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<GoVarsI>) anInterface;
+ (void) setAnInterface:(id<GoVarsI>)v;
@end
#endif