github.com/c-darwin/mobile@v0.0.0-20160313183840-ff625c46f7c9/bind/testdata/interfaces.objc.h.golden (about)

     1  // Objective-C API for talking to interfaces Go package.
     2  //   gobind -lang=objc interfaces
     3  //
     4  // File is generated by gobind. Do not edit.
     5  
     6  #ifndef __GoInterfaces_H__
     7  #define __GoInterfaces_H__
     8  
     9  #include <Foundation/Foundation.h>
    10  
    11  @protocol GoInterfacesError
    12  - (BOOL)Err:(NSError**)error;
    13  @end
    14  
    15  @protocol GoInterfacesI
    16  - (int32_t)Rand;
    17  @end
    18  
    19  @interface GoInterfacesI1 : NSObject {
    20  }
    21  @property(strong, readonly) id ref;
    22  
    23  - (id)initWithRef:(id)ref;
    24  - (void)J;
    25  @end
    26  
    27  
    28  @interface GoInterfacesI2 : NSObject {
    29  }
    30  @property(strong, readonly) id ref;
    31  
    32  - (id)initWithRef:(id)ref;
    33  - (void)G;
    34  @end
    35  
    36  
    37  @protocol GoInterfacesI3
    38  - (id<GoInterfacesI1>)F;
    39  @end
    40  
    41  @protocol GoInterfacesWithParam
    42  - (void)HasParam:(BOOL)p0;
    43  @end
    44  
    45  FOUNDATION_EXPORT int32_t GoInterfacesAdd3(id<GoInterfacesI> r);
    46  
    47  FOUNDATION_EXPORT BOOL GoInterfacesCallErr(id<GoInterfacesError> e, NSError** error);
    48  
    49  FOUNDATION_EXPORT id<GoInterfacesI> GoInterfacesSeven();
    50  
    51  #endif