github.com/MrKrisYu/mobile@v0.0.0-20230923092425-9be92a9aeacc/bind/testdata/ignore.objc.m.golden (about)

     1  // Objective-C API for talking to ignore Go package.
     2  //   gobind -lang=objc ignore
     3  //
     4  // File is generated by gobind. Do not edit.
     5  
     6  #include <Foundation/Foundation.h>
     7  #include "seq.h"
     8  #include "_cgo_export.h"
     9  #include "Ignore.objc.h"
    10  
    11  
    12  @implementation IgnoreS {
    13  }
    14  
    15  - (nonnull instancetype)initWithRef:(_Nonnull id)ref {
    16  	self = [super init];
    17  	if (self) { __ref = ref; }
    18  	return self;
    19  }
    20  
    21  - (nonnull instancetype)init {
    22  	self = [super init];
    23  	if (self) {
    24  		__ref = go_seq_from_refnum(new_ignore_S());
    25  	}
    26  	return self;
    27  }
    28  
    29  // skipped unsupported field F with type interface{}
    30  
    31  // skipped method S.Argument with unsupported parameter or return types
    32  
    33  // skipped method S.Result with unsupported parameter or return types
    34  
    35  @end
    36  
    37  
    38  @implementation IgnoreI {
    39  }
    40  
    41  - (nonnull instancetype)initWithRef:(id)ref {
    42  	self = [super init];
    43  	if (self) { __ref = ref; }
    44  	return self;
    45  }
    46  
    47  // skipped method I.Argument with unsupported parameter or return types
    48  
    49  // skipped method I.Result with unsupported parameter or return types
    50  
    51  @end
    52  
    53  
    54  // skipped const Cuint with unsupported type: uint
    55  
    56  // skipped const Cuint32 with unsupported type: uint32
    57  
    58  // skipped const Cuint64 with unsupported type: uint64
    59  
    60  // skipped const NamedConst with unsupported type: ignore.NamedString
    61  
    62  
    63  @implementation Ignore
    64  // skipped variable C128 with unsupported type: complex128
    65  
    66  // skipped variable C64 with unsupported type: complex64
    67  
    68  // skipped variable Uint with unsupported type: uint
    69  
    70  // skipped variable Uint32 with unsupported type: uint32
    71  
    72  // skipped variable Uint64 with unsupported type: uint64
    73  
    74  // skipped variable V with unsupported type: interface{}
    75  
    76  // skipped variable Var with unsupported type: interface{}
    77  
    78  @end
    79  
    80  
    81  // skipped function Argument with unsupported parameter or return types
    82  
    83  // skipped function Result with unsupported parameter or return types
    84  
    85  // skipped method I.Argument with unsupported parameter or return types
    86  
    87  // skipped method I.Result with unsupported parameter or return types
    88  
    89  __attribute__((constructor)) static void init() {
    90  	init_seq();
    91  }