2
0
mirror of synced 2025-02-23 14:58:12 +00:00
mobile/bind/testdata/customprefixEX.objc.h.golden
Steeve Morin 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
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