vars.objc.h.golden 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. // Objective-C API for talking to vars Go package.
  2. // gobind -lang=objc vars
  3. //
  4. // File is generated by gobind. Do not edit.
  5. #ifndef __Vars_H__
  6. #define __Vars_H__
  7. @import Foundation;
  8. #include "ref.h"
  9. #include "Universe.objc.h"
  10. @class VarsS;
  11. @protocol VarsI;
  12. @class VarsI;
  13. @protocol VarsI <NSObject>
  14. @end
  15. @interface VarsS : NSObject <goSeqRefInterface, VarsI> {
  16. }
  17. @property(strong, readonly) _Nonnull id _ref;
  18. - (nonnull instancetype)initWithRef:(_Nonnull id)ref;
  19. - (nonnull instancetype)init;
  20. @end
  21. @interface Vars : NSObject
  22. + (BOOL) aBool;
  23. + (void) setABool:(BOOL)v;
  24. + (double) aFloat;
  25. + (void) setAFloat:(double)v;
  26. + (float) aFloat32;
  27. + (void) setAFloat32:(float)v;
  28. + (double) aFloat64;
  29. + (void) setAFloat64:(double)v;
  30. + (NSString* _Nonnull) aString;
  31. + (void) setAString:(NSString* _Nonnull)v;
  32. + (VarsS* _Nullable) aStructPtr;
  33. + (void) setAStructPtr:(VarsS* _Nullable)v;
  34. + (long) anInt;
  35. + (void) setAnInt:(long)v;
  36. + (int16_t) anInt16;
  37. + (void) setAnInt16:(int16_t)v;
  38. + (int32_t) anInt32;
  39. + (void) setAnInt32:(int32_t)v;
  40. + (int64_t) anInt64;
  41. + (void) setAnInt64:(int64_t)v;
  42. + (int8_t) anInt8;
  43. + (void) setAnInt8:(int8_t)v;
  44. + (id<VarsI> _Nullable) anInterface;
  45. + (void) setAnInterface:(id<VarsI> _Nullable)v;
  46. @end
  47. @class VarsI;
  48. @interface VarsI : NSObject <goSeqRefInterface, VarsI> {
  49. }
  50. @property(strong, readonly) _Nonnull id _ref;
  51. - (nonnull instancetype)initWithRef:(_Nonnull id)ref;
  52. @end
  53. #endif