github.com/coming-chat/gomobile@v0.0.0-20220601074111-56995f7d7aba/bind/testdata/basictypes.objc.h.golden (about) 1 // Objective-C API for talking to basictypes Go package. 2 // gobind -lang=objc basictypes 3 // 4 // File is generated by gobind. Do not edit. 5 6 #ifndef __Basictypes_H__ 7 #define __Basictypes_H__ 8 9 @import Foundation; 10 #include "ref.h" 11 #include "Universe.objc.h" 12 13 14 FOUNDATION_EXPORT const BOOL BasictypesABool; 15 FOUNDATION_EXPORT const double BasictypesAFloat; 16 FOUNDATION_EXPORT NSString* _Nonnull const BasictypesALongString; 17 FOUNDATION_EXPORT const int32_t BasictypesARune; 18 FOUNDATION_EXPORT NSString* _Nonnull const BasictypesAString; 19 FOUNDATION_EXPORT const int64_t BasictypesAnInt; 20 FOUNDATION_EXPORT const int64_t BasictypesAnInt2; 21 22 FOUNDATION_EXPORT BOOL BasictypesBool(BOOL p0); 23 24 FOUNDATION_EXPORT NSData* _Nullable BasictypesByteArrays(NSData* _Nullable x); 25 26 FOUNDATION_EXPORT BOOL BasictypesError(NSError* _Nullable* _Nullable error); 27 28 FOUNDATION_EXPORT BOOL BasictypesErrorPair(long* _Nullable ret0_, NSError* _Nullable* _Nullable error); 29 30 FOUNDATION_EXPORT void BasictypesInts(int8_t x, int16_t y, int32_t z, int64_t t, long u); 31 32 #endif