Errors was recently converted to use objects as representation instead of strings. Issue golang/go#17073 exposed a few places that wasn't properly updated. Fix them and add the test case from the the issue. Fixes golang/go#17073 Change-Id: I0191993a8427d930540716407fc09032f282fc66 Reviewed-on: https://go-review.googlesource.com/29176 Reviewed-by: David Crawshaw <crawshaw@golang.org>
24 lines
441 B
Plaintext
24 lines
441 B
Plaintext
// Objective-C API for talking to issue12328 Go package.
|
|
// gobind -lang=objc issue12328
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#ifndef __GoIssue12328_H__
|
|
#define __GoIssue12328_H__
|
|
|
|
#include <Foundation/Foundation.h>
|
|
#include "GoUniverse.h"
|
|
|
|
@class GoIssue12328T;
|
|
|
|
@interface GoIssue12328T : NSObject {
|
|
}
|
|
@property(strong, readonly) id _ref;
|
|
|
|
- (id)initWithRef:(id)ref;
|
|
- (NSError*)err;
|
|
- (void)setErr:(NSError*)v;
|
|
@end
|
|
|
|
#endif
|