2
0
mirror of synced 2025-02-23 23:08:14 +00:00
mobile/bind/testdata/interfaces.objc.h.golden
Hyang-Ah (Hana) Kim da28dd9045 bind/objc: fix error return type handling
Fixes golang/go#12307.

Change-Id: I5560b616a3cd51c536d9e5529745681effe26e9a
Reviewed-on: https://go-review.googlesource.com/13913
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-08-25 15:22:55 +00:00

33 lines
628 B
Plaintext

// Objective-C API for talking to interfaces Go package.
// gobind -lang=objc interfaces
//
// File is generated by gobind. Do not edit.
#ifndef __GoInterfaces_H__
#define __GoInterfaces_H__
#include <Foundation/Foundation.h>
@protocol GoInterfacesError
- (BOOL)Err:(NSError**)error;
@end
@protocol GoInterfacesI
- (int32_t)Rand;
@end
@protocol GoInterfacesWithParam
- (void)HasParam:(BOOL)p0;
@end
FOUNDATION_EXPORT int32_t GoInterfacesAdd3(id<GoInterfacesI> r);
FOUNDATION_EXPORT BOOL GoInterfacesCallErr(id<GoInterfacesError> e, NSError** error);
FOUNDATION_EXPORT id<GoInterfacesI> GoInterfacesSeven();
#endif