Change-Id: Ieda05982c7f894c5603103b8890658e682e97423 Reviewed-on: https://go-review.googlesource.com/11307 Reviewed-by: David Crawshaw <crawshaw@golang.org>
31 lines
677 B
Plaintext
31 lines
677 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;
|
|
- (BOOL)Identity:(GoStructs_S**)ret0_ error:(NSError**)error;
|
|
- (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
|