github.com/F4RD1N/gomobile@v1.0.1/bind/testdata/underscores.objc.h.golden (about) 1 // Objective-C API for talking to underscores Go package. 2 // gobind -lang=objc underscores 3 // 4 // File is generated by gobind. Do not edit. 5 6 #ifndef __Underscore_pkg_H__ 7 #define __Underscore_pkg_H__ 8 9 @import Foundation; 10 #include "ref.h" 11 #include "Universe.objc.h" 12 13 14 @class Underscore_pkgUnderscore_struct; 15 16 @interface Underscore_pkgUnderscore_struct : NSObject <goSeqRefInterface> { 17 } 18 @property(strong, readonly) _Nonnull id _ref; 19 20 - (nonnull instancetype)initWithRef:(_Nonnull id)ref; 21 - (nonnull instancetype)init; 22 @property (nonatomic) NSString* _Nonnull underscore_field; 23 @end 24 25 @interface Underscore_pkg : NSObject 26 + (long) underscore_var; 27 + (void) setUnderscore_var:(long)v; 28 29 @end 30 31 FOUNDATION_EXPORT void Underscore_pkgUnderscore_func(void); 32 33 #endif