Xcode 9 now enables CLANG_WARN_STRICT_PROTOTYPES by default. This update ObjC function prototypes with no params from FOUNDATION_EXPORT Something* DoSomething(); to FOUNDATION_EXPORT Something* DoSomething(void); Change-Id: I23b1d3e70a2ede2d2d77951ffe8a1a9598a1b7a0 Reviewed-on: https://go-review.googlesource.com/68970 Reviewed-by: Elias Naur <elias.naur@gmail.com>
19 lines
380 B
Plaintext
19 lines
380 B
Plaintext
// Objective-C API for talking to customprefix Go package.
|
|
// gobind -lang=objc customprefix
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#include <Foundation/Foundation.h>
|
|
#include "seq.h"
|
|
#include "_cgo_export.h"
|
|
#include "Customprefix.objc.h"
|
|
|
|
|
|
void CustomprefixF(void) {
|
|
proxycustomprefix__F();
|
|
}
|
|
|
|
__attribute__((constructor)) static void init() {
|
|
init_seq();
|
|
}
|