Change-Id: I63963c20c283638cfdc86b037f6aff70a115a78c Reviewed-on: https://go-review.googlesource.com/10893 Reviewed-by: David Crawshaw <crawshaw@golang.org>
30 lines
615 B
Plaintext
30 lines
615 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 "seq.h"
|
|
|
|
@class GoStructs_S;
|
|
|
|
@interface GoStructs_S : NSObject {
|
|
}
|
|
@property(strong, readonly) GoSeqRef *ref;
|
|
|
|
- (id)initWithRef:(GoSeqRef*)ref;
|
|
- (double)X;
|
|
- (void)setX:(double)v;
|
|
- (double)Y;
|
|
- (void)setY:(double)v;
|
|
- (double)Sum;
|
|
@end
|
|
|
|
FOUNDATION_EXPORT GoStructs_S* GoStructs_Identity(GoStructs_S* s);
|
|
|
|
FOUNDATION_EXPORT BOOL GoStructs_IdentityWithError(GoStructs_S* s, GoStructs_S** ret0_, NSError** error);
|
|
|
|
#endif
|