objc.go.golden 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. // Code generated by gobind. DO NOT EDIT.
  2. package ObjC
  3. // Used to silence this package not used errors
  4. const Dummy = 0
  5. type Foundation_NSString interface {
  6. }
  7. type Foundation_NSDate interface {
  8. }
  9. type Foundation_NSObjectC interface {
  10. }
  11. // Code generated by gobind. DO NOT EDIT.
  12. package main
  13. // #include "interfaces.h"
  14. import "C"
  15. import "ObjC"
  16. import _seq "golang.org/x/mobile/bind/seq"
  17. type proxy interface{ Bind_proxy_refnum__() int32 }
  18. // Suppress unused package error
  19. var _ = _seq.FromRefNum
  20. const _ = ObjC.Dummy
  21. func init() {
  22. }
  23. type proxy_class_NSString _seq.Ref
  24. func (p *proxy_class_NSString) Bind_proxy_refnum__() int32 { return (*_seq.Ref)(p).Bind_IncNum() }
  25. func init() {
  26. }
  27. type proxy_class_NSDate _seq.Ref
  28. func (p *proxy_class_NSDate) Bind_proxy_refnum__() int32 { return (*_seq.Ref)(p).Bind_IncNum() }
  29. func init() {
  30. }
  31. type proxy_class_NSObjectC _seq.Ref
  32. func (p *proxy_class_NSObjectC) Bind_proxy_refnum__() int32 { return (*_seq.Ref)(p).Bind_IncNum() }
  33. // Code generated by gobind. DO NOT EDIT.
  34. // Package main is an autogenerated binder stub for package objc.
  35. //
  36. // autogenerated by gobind -lang=go objc
  37. package main
  38. /*
  39. #include <stdlib.h>
  40. #include <stdint.h>
  41. #include "seq.h"
  42. #include "objc.h"
  43. */
  44. import "C"
  45. import (
  46. _seq "golang.org/x/mobile/bind/seq"
  47. )
  48. // suppress the error if seq ends up unused
  49. var _ = _seq.FromRefNum
  50. type proxyobjc_D _seq.Ref
  51. func (p *proxyobjc_D) Bind_proxy_refnum__() int32 {
  52. return (*_seq.Ref)(p).Bind_IncNum()
  53. }
  54. type proxyobjc_O _seq.Ref
  55. func (p *proxyobjc_O) Bind_proxy_refnum__() int32 {
  56. return (*_seq.Ref)(p).Bind_IncNum()
  57. }
  58. type proxyobjc_S _seq.Ref
  59. func (p *proxyobjc_S) Bind_proxy_refnum__() int32 {
  60. return (*_seq.Ref)(p).Bind_IncNum()
  61. }