Before this change, func Hello() of mypkg package generated a function GoMypkg_Hello to distinguish the prefix from the function name. It seems the use of '_' is very rare in Objective-C though. After this change, it generates GoMypkgHello. Change-Id: Ic7aa2b667363a447a5ff3500262502d3137d6853 Reviewed-on: https://go-review.googlesource.com/11893 Reviewed-by: Damien Neil <dneil@google.com>
22 lines
561 B
Plaintext
22 lines
561 B
Plaintext
// Objective-C API for talking to basictypes Go package.
|
|
// gobind -lang=objc basictypes
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#ifndef __GoBasictypes_H__
|
|
#define __GoBasictypes_H__
|
|
|
|
#include "seq.h"
|
|
|
|
FOUNDATION_EXPORT BOOL GoBasictypesBool(BOOL p0);
|
|
|
|
FOUNDATION_EXPORT NSData* GoBasictypesByteArrays(NSData* x);
|
|
|
|
FOUNDATION_EXPORT BOOL GoBasictypesError(NSError** error);
|
|
|
|
FOUNDATION_EXPORT BOOL GoBasictypesErrorPair(int* ret0_, NSError** error);
|
|
|
|
FOUNDATION_EXPORT void GoBasictypesInts(int8_t x, int16_t y, int32_t z, int64_t t, int u);
|
|
|
|
#endif
|