2
0
mirror of synced 2025-02-23 14:58:12 +00:00
mobile/bind/testdata/structs.objc.h.golden
Hyang-Ah (Hana) Kim 3a9b5b50ac bind: correct methods' return arg type mapping in obj-c binding.
Change-Id: Ieda05982c7f894c5603103b8890658e682e97423
Reviewed-on: https://go-review.googlesource.com/11307
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-06-23 13:13:31 +00:00

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