Files
gomobile-tvos-fork/bind/testdata/customprefix.objc.h.golden
Steeve MorinandElias Naur a421117049 bind: always include ref.h in generated ObjC headers
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>
2019-01-27 14:38:45 +00:00

17 lines
317 B
Plaintext

// Objective-C API for talking to customprefix Go package.
// gobind -lang=objc customprefix
//
// File is generated by gobind. Do not edit.
#ifndef __Customprefix_H__
#define __Customprefix_H__
@import Foundation;
#include "ref.h"
#include "Universe.objc.h"
FOUNDATION_EXPORT void CustomprefixF(void);
#endif