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

     1  // Objective-C API for talking to structs Go package.
     2  //   gobind -lang=objc structs
     3  //
     4  // File is generated by gobind. Do not edit.
     5  
     6  #ifndef __GoStructs_H__
     7  #define __GoStructs_H__
     8  
     9  #include <Foundation/Foundation.h>
    10  
    11  @class GoStructsS;
    12  
    13  @interface GoStructsS : NSObject {
    14  }
    15  @property(strong, readonly) id _ref;
    16  
    17  - (id)initWithRef:(id)ref;
    18  - (double)x;
    19  - (void)setX:(double)v;
    20  - (double)y;
    21  - (void)setY:(double)v;
    22  - (BOOL)identity:(GoStructsS**)ret0_ error:(NSError**)error;
    23  - (double)sum;
    24  @end
    25  
    26  FOUNDATION_EXPORT GoStructsS* GoStructsIdentity(GoStructsS* s);
    27  
    28  FOUNDATION_EXPORT BOOL GoStructsIdentityWithError(GoStructsS* s, GoStructsS** ret0_, NSError** error);
    29  
    30  #endif