Current generated headers work because they require `ref.h` to be loaded beforehand by the bridging header. However, in some cases where the bridging header is generated by another tool (such as Bazel), the order can't be guaranteed. Fix that by explicitly importing `ref.h` in the headers that need it. Change-Id: I444453a0ebdf53e14ba1b5290f7cc7084eaf2c07 GitHub-Last-Rev: e1e1e915bf0428d871cb1a268c8456cf7051d383 GitHub-Pull-Request: golang/mobile#28 Reviewed-on: https://go-review.googlesource.com/c/159758 Reviewed-by: Elias Naur <mail@eliasnaur.com>
17 lines
325 B
Plaintext
17 lines
325 B
Plaintext
// Objective-C API for talking to issue29559 Go package.
|
|
// gobind -lang=objc issue29559
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#ifndef __Issue29559_H__
|
|
#define __Issue29559_H__
|
|
|
|
@import Foundation;
|
|
#include "ref.h"
|
|
#include "Universe.objc.h"
|
|
|
|
|
|
FOUNDATION_EXPORT void Issue29559TakesAString(NSString* s);
|
|
|
|
#endif
|