bind/testdata/try.objc.m.golden
raw| 1 | // Objective-C API for talking to try Go package. |
| 2 | // gobind -lang=objc try |
| 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 "Try.objc.h" |
| 10 | |
| 11 | |
| 12 | NSString* _Nonnull TryThis(void) { |
| 13 | nstring r0 = proxytry__This(); |
| 14 | NSString *_ret0_ = go_seq_to_objc_string(r0); |
| 15 | return _ret0_; |
| 16 | } |
| 17 | |
| 18 | __attribute__((constructor)) static void init() { |
| 19 | init_seq(); |
| 20 | } |