github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/mobile/bind/testdata/vars.objc.h.golden (about)

     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  
     6  #ifndef __GoVars_H__
     7  #define __GoVars_H__
     8  
     9  #include <Foundation/Foundation.h>
    10  
    11  @class GoVarsS;
    12  @protocol GoVarsI;
    13  @class GoVarsI;
    14  
    15  @interface GoVarsS : NSObject {
    16  }
    17  @property(strong, readonly) id _ref;
    18  
    19  - (id)initWithRef:(id)ref;
    20  @end
    21  
    22  @protocol GoVarsI
    23  @end
    24  
    25  @interface GoVars : NSObject 
    26  + (BOOL) aBool;
    27  + (void) setABool:(BOOL)v;
    28  
    29  + (double) aFloat;
    30  + (void) setAFloat:(double)v;
    31  
    32  + (float) aFloat32;
    33  + (void) setAFloat32:(float)v;
    34  
    35  + (double) aFloat64;
    36  + (void) setAFloat64:(double)v;
    37  
    38  + (NSString*) aString;
    39  + (void) setAString:(NSString*)v;
    40  
    41  + (GoVarsS*) aStructPtr;
    42  + (void) setAStructPtr:(GoVarsS*)v;
    43  
    44  + (int) anInt;
    45  + (void) setAnInt:(int)v;
    46  
    47  + (int16_t) anInt16;
    48  + (void) setAnInt16:(int16_t)v;
    49  
    50  + (int32_t) anInt32;
    51  + (void) setAnInt32:(int32_t)v;
    52  
    53  + (int64_t) anInt64;
    54  + (void) setAnInt64:(int64_t)v;
    55  
    56  + (int8_t) anInt8;
    57  + (void) setAnInt8:(int8_t)v;
    58  
    59  + (id<GoVarsI>) anInterface;
    60  + (void) setAnInterface:(id<GoVarsI>)v;
    61  
    62  @end
    63  
    64  #endif