blob: baf6ab6d16ff64bf3725d476bd6a5ce50f0a8fad [file] [log] [blame]
// Objective-C API for talking to golang.org/x/mobile/bind/objc/testpkg Go package.
// gobind -lang=objc golang.org/x/mobile/bind/objc/testpkg
//
// File is generated by gobind. Do not edit.
#ifndef __GoTestpkg_H__
#define __GoTestpkg_H__
#include <Foundation/Foundation.h>
@class GoTestpkgS;
@interface GoTestpkgS : NSObject {
}
@property(strong, readonly) id ref;
- (id)initWithRef:(id)ref;
- (double)X;
- (void)setX:(double)v;
- (double)Y;
- (void)setY:(double)v;
- (double)Sum;
- (NSString*)TryTwoStrings:(NSString*)first second:(NSString*)second;
@end
FOUNDATION_EXPORT NSData* GoTestpkgBytesAppend(NSData* a, NSData* b);
FOUNDATION_EXPORT double GoTestpkgCallSSum(GoTestpkgS* s);
FOUNDATION_EXPORT int GoTestpkgCollectS(int want, int timeoutSec);
FOUNDATION_EXPORT NSString* GoTestpkgHello(NSString* s);
FOUNDATION_EXPORT void GoTestpkgHi();
FOUNDATION_EXPORT void GoTestpkgInt(int32_t x);
FOUNDATION_EXPORT GoTestpkgS* GoTestpkgNewS(double x, double y);
FOUNDATION_EXPORT BOOL GoTestpkgReturnsError(BOOL b, NSString** ret0_, NSError** error);
FOUNDATION_EXPORT int64_t GoTestpkgSum(int64_t x, int64_t y);
#endif