blob: 34a07443165e8a0dc79330763f10d36c96ac05a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.3
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
// source: ./../valuewrapper.i
package valuewrapper
import "unsafe"
import _ "runtime/cgo"
var _cgo_runtime_cgocall func(unsafe.Pointer, uintptr)
type _ unsafe.Pointer
type _swig_fnptr *byte
type _swig_memberptr *byte
type SwigcptrXi uintptr
func (p SwigcptrXi) Swigcptr() uintptr {
return (uintptr)(p)
}
func (p SwigcptrXi) SwigIsXi() {
}
var _wrap_new_Xi unsafe.Pointer
func _swig_wrap_new_Xi(base int) (_ SwigcptrXi) {
_swig_p := uintptr(unsafe.Pointer(&base))
_cgo_runtime_cgocall(_wrap_new_Xi, _swig_p)
return
}
func NewXi(arg1 int) (_swig_ret Xi) {
return _swig_wrap_new_Xi(arg1)
}
var _wrap_delete_Xi unsafe.Pointer
func _swig_wrap_delete_Xi(base uintptr) {
_swig_p := uintptr(unsafe.Pointer(&base))
_cgo_runtime_cgocall(_wrap_delete_Xi, _swig_p)
return
}
func DeleteXi(arg1 Xi) {
_swig_wrap_delete_Xi(arg1.Swigcptr())
}
type Xi interface {
Swigcptr() uintptr
SwigIsXi()
}
type SwigcptrYXi uintptr
func (p SwigcptrYXi) Swigcptr() uintptr {
return (uintptr)(p)
}
func (p SwigcptrYXi) SwigIsYXi() {
}
var _wrap_new_YXi unsafe.Pointer
func _swig_wrap_new_YXi() (base SwigcptrYXi) {
_swig_p := uintptr(unsafe.Pointer(&base))
_cgo_runtime_cgocall(_wrap_new_YXi, _swig_p)
return
}
func NewYXi() (_swig_ret YXi) {
return _swig_wrap_new_YXi()
}
var _wrap_YXi_spam__SWIG_0 unsafe.Pointer
func _swig_wrap_YXi_spam__SWIG_0(base SwigcptrYXi, _ uintptr) (_ int) {
_swig_p := uintptr(unsafe.Pointer(&base))
_cgo_runtime_cgocall(_wrap_YXi_spam__SWIG_0, _swig_p)
return
}
func (arg1 SwigcptrYXi) Spam__SWIG_0(arg2 Xi) (_swig_ret int) {
return _swig_wrap_YXi_spam__SWIG_0(arg1, arg2.Swigcptr())
}
var _wrap_YXi_spam__SWIG_1 unsafe.Pointer
func _swig_wrap_YXi_spam__SWIG_1(base SwigcptrYXi) (_ int) {
_swig_p := uintptr(unsafe.Pointer(&base))
_cgo_runtime_cgocall(_wrap_YXi_spam__SWIG_1, _swig_p)
return
}
func (arg1 SwigcptrYXi) Spam__SWIG_1() (_swig_ret int) {
return _swig_wrap_YXi_spam__SWIG_1(arg1)
}
func (p SwigcptrYXi) Spam(a ...interface{}) int {
argc := len(a)
if argc == 0 {
return p.Spam__SWIG_1()
}
if argc == 1 {
return p.Spam__SWIG_0(a[0].(Xi))
}
panic("No match for overloaded function call")
}
var _wrap_delete_YXi unsafe.Pointer
func _swig_wrap_delete_YXi(base uintptr) {
_swig_p := uintptr(unsafe.Pointer(&base))
_cgo_runtime_cgocall(_wrap_delete_YXi, _swig_p)
return
}
func DeleteYXi(arg1 YXi) {
_swig_wrap_delete_YXi(arg1.Swigcptr())
}
type YXi interface {
Swigcptr() uintptr
SwigIsYXi()
Spam(a ...interface{}) int
}
type SwigcptrVoid uintptr
type Void interface {
Swigcptr() uintptr;
}
func (p SwigcptrVoid) Swigcptr() uintptr {
return uintptr(p)
}
|