bind/testdata/issue29559.objc.m.golden
raw| 1 | // Objective-C API for talking to issue29559 Go package. |
| 2 | // gobind -lang=objc issue29559 |
| 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 "Issue29559.objc.h" |
| 10 | |
| 11 | |
| 12 | void Issue29559TakesAString(NSString* _Nullable s) { |
| 13 | nstring _s = go_seq_from_objc_string(s); |
| 14 | proxyissue29559__TakesAString(_s); |
| 15 | } |
| 16 | |
| 17 | __attribute__((constructor)) static void init() { |
| 18 | init_seq(); |
| 19 | } |