2
0
mirror of synced 2025-02-24 07:18:15 +00:00
mobile/bind/testdata/vars.objc.h.golden
Hyang-Ah (Hana) Kim bf2ca7a93b x/mobile/bind: forward declare protocol/class for interface types
Fixes golang/go#13004

Change-Id: I114cf3d7d970485d0609b1d7b497e232010e64df
Reviewed-on: https://go-review.googlesource.com/16155
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-10-22 17:03:04 +00:00

65 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;
@class GoVarsI;
@interface GoVarsS : NSObject {
}
@property(strong, readonly) id _ref;
- (id)initWithRef:(id)ref;
@end
@protocol GoVarsI
@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