2
0
mirror of synced 2025-02-23 14:58:12 +00:00
mobile/bind/testdata/structs.objc.h.golden
Hyang-Ah (Hana) Kim d7fb1ce757 bind: fix a bug in handling func returning a struct.
Change-Id: I63963c20c283638cfdc86b037f6aff70a115a78c
Reviewed-on: https://go-review.googlesource.com/10893
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-06-11 17:32:32 +00:00

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