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
336 B
Plaintext
17 lines
336 B
Plaintext
// Objective-C API for talking to customprefix Go package.
|
|
// gobind -lang=objc -prefix="EX" customprefix
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#ifndef __EXCustomprefix_H__
|
|
#define __EXCustomprefix_H__
|
|
|
|
@import Foundation;
|
|
#include "ref.h"
|
|
#include "Universe.objc.h"
|
|
|
|
|
|
FOUNDATION_EXPORT void EXCustomprefixF(void);
|
|
|
|
#endif
|