Fixes golang/go#12889. Change-Id: I4b8f5e4b2c4fe53146fc351889664cbeb5a1860b Reviewed-on: https://go-review.googlesource.com/15780 Reviewed-by: David Crawshaw <crawshaw@golang.org>
31 lines
673 B
Plaintext
31 lines
673 B
Plaintext
// Objective-C API for talking to structs Go package.
|
|
// gobind -lang=objc structs
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#ifndef __GoStructs_H__
|
|
#define __GoStructs_H__
|
|
|
|
#include <Foundation/Foundation.h>
|
|
|
|
@class GoStructsS;
|
|
|
|
@interface GoStructsS : NSObject {
|
|
}
|
|
@property(strong, readonly) id _ref;
|
|
|
|
- (id)initWithRef:(id)ref;
|
|
- (double)x;
|
|
- (void)setX:(double)v;
|
|
- (double)y;
|
|
- (void)setY:(double)v;
|
|
- (BOOL)identity:(GoStructsS**)ret0_ error:(NSError**)error;
|
|
- (double)sum;
|
|
@end
|
|
|
|
FOUNDATION_EXPORT GoStructsS* GoStructsIdentity(GoStructsS* s);
|
|
|
|
FOUNDATION_EXPORT BOOL GoStructsIdentityWithError(GoStructsS* s, GoStructsS** ret0_, NSError** error);
|
|
|
|
#endif
|