github.com/thommil/tge-mobile@v0.0.0-20190308225214-66a08abd51aa/bind/testdata/objc.go.golden (about) 1 //File is generated by gobind. Do not edit. 2 3 package ObjC 4 5 // Used to silence this package not used errors 6 const Dummy = 0 7 8 type Foundation_NSString interface { 9 } 10 11 type Foundation_NSDate interface { 12 } 13 14 type Foundation_NSObjectC interface { 15 } 16 17 // File is generated by gobind. Do not edit. 18 19 package main 20 21 // #include "interfaces.h" 22 import "C" 23 24 import "ObjC" 25 import _seq "github.com/thommil/tge-mobile/bind/seq" 26 27 type proxy interface { Bind_proxy_refnum__() int32 } 28 29 // Suppress unused package error 30 31 var _ = _seq.FromRefNum 32 const _ = ObjC.Dummy 33 34 func init() { 35 } 36 37 type proxy_class_NSString _seq.Ref 38 39 func (p *proxy_class_NSString) Bind_proxy_refnum__() int32 { return (*_seq.Ref)(p).Bind_IncNum() } 40 41 func init() { 42 } 43 44 type proxy_class_NSDate _seq.Ref 45 46 func (p *proxy_class_NSDate) Bind_proxy_refnum__() int32 { return (*_seq.Ref)(p).Bind_IncNum() } 47 48 func init() { 49 } 50 51 type proxy_class_NSObjectC _seq.Ref 52 53 func (p *proxy_class_NSObjectC) Bind_proxy_refnum__() int32 { return (*_seq.Ref)(p).Bind_IncNum() } 54 55 // Package main is an autogenerated binder stub for package objc. 56 // gobind -lang=go objc 57 // 58 // File is generated by gobind. Do not edit. 59 package main 60 61 /* 62 #include <stdlib.h> 63 #include <stdint.h> 64 #include "seq.h" 65 #include "objc.h" 66 67 */ 68 import "C" 69 70 import ( 71 _seq "github.com/thommil/tge-mobile/bind/seq" 72 ) 73 74 // suppress the error if seq ends up unused 75 var _ = _seq.FromRefNum 76 77 type proxyobjc_D _seq.Ref 78 79 func (p *proxyobjc_D) Bind_proxy_refnum__() int32 { return (*_seq.Ref)(p).Bind_IncNum() } 80 81 type proxyobjc_O _seq.Ref 82 83 func (p *proxyobjc_O) Bind_proxy_refnum__() int32 { return (*_seq.Ref)(p).Bind_IncNum() } 84 85 type proxyobjc_S _seq.Ref 86 87 func (p *proxyobjc_S) Bind_proxy_refnum__() int32 { return (*_seq.Ref)(p).Bind_IncNum() }