2
0
mirror of synced 2025-02-23 14:58:12 +00:00
mobile/bind/testdata/basictypes.objc.h.golden
Hyang-Ah (Hana) Kim a922dd97b1 bind/objc: remove '_' after Go<pkgname> prefix from names.
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>
2015-07-07 03:29:17 +00:00

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