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
150
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* 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.
* ----------------------------------------------------------------------------- */
package example
type _swig_fnptr *byte
type _swig_memberptr *byte
func _swig_allocatememory(int) *byte
func _swig_internal_allocate(len int) *byte {
return _swig_allocatememory(len)
}
func _swig_allocatestring(*byte, int) string
func _swig_internal_makegostring(p *byte, l int) string {
return _swig_allocatestring(p, l)
}
func _swig_internal_gopanic(p *byte, l int) {
panic(_swig_allocatestring(p, l))
}
func Maxint(int, int) int
func Maxdouble(float64, float64) float64
type SwigcptrVecint uintptr
func (p SwigcptrVecint) Swigcptr() uintptr {
return (uintptr)(p)
}
func (p SwigcptrVecint) SwigIsVecint() {
}
func _swig_wrap_new_vecint(int) SwigcptrVecint
func NewVecint(arg1 int) Vecint {
return _swig_wrap_new_vecint(arg1)
}
func _swig_wrap_vecint_get(SwigcptrVecint, int) *int
func (arg1 SwigcptrVecint) Get(arg2 int) *int {
return _swig_wrap_vecint_get(arg1, arg2)
}
func _swig_wrap_vecint_set(SwigcptrVecint, int, *int)
func (arg1 SwigcptrVecint) Set(arg2 int, arg3 *int) {
_swig_wrap_vecint_set(arg1, arg2, arg3)
}
func _swig_wrap_vecint_getitem(SwigcptrVecint, int) int
func (arg1 SwigcptrVecint) Getitem(arg2 int) int {
return _swig_wrap_vecint_getitem(arg1, arg2)
}
func _swig_wrap_vecint_setitem(SwigcptrVecint, int, int)
func (arg1 SwigcptrVecint) Setitem(arg2 int, arg3 int) {
_swig_wrap_vecint_setitem(arg1, arg2, arg3)
}
func _swig_wrap_delete_vecint(uintptr)
func DeleteVecint(arg1 Vecint) {
_swig_wrap_delete_vecint(arg1.Swigcptr())
}
type Vecint interface {
Swigcptr() uintptr
SwigIsVecint()
Get(arg2 int) *int
Set(arg2 int, arg3 *int)
Getitem(arg2 int) int
Setitem(arg2 int, arg3 int)
}
type SwigcptrVecdouble uintptr
func (p SwigcptrVecdouble) Swigcptr() uintptr {
return (uintptr)(p)
}
func (p SwigcptrVecdouble) SwigIsVecdouble() {
}
func _swig_wrap_new_vecdouble(int) SwigcptrVecdouble
func NewVecdouble(arg1 int) Vecdouble {
return _swig_wrap_new_vecdouble(arg1)
}
func _swig_wrap_vecdouble_get(SwigcptrVecdouble, int) *float64
func (arg1 SwigcptrVecdouble) Get(arg2 int) *float64 {
return _swig_wrap_vecdouble_get(arg1, arg2)
}
func _swig_wrap_vecdouble_set(SwigcptrVecdouble, int, *float64)
func (arg1 SwigcptrVecdouble) Set(arg2 int, arg3 *float64) {
_swig_wrap_vecdouble_set(arg1, arg2, arg3)
}
func _swig_wrap_vecdouble_getitem(SwigcptrVecdouble, int) float64
func (arg1 SwigcptrVecdouble) Getitem(arg2 int) float64 {
return _swig_wrap_vecdouble_getitem(arg1, arg2)
}
func _swig_wrap_vecdouble_setitem(SwigcptrVecdouble, int, float64)
func (arg1 SwigcptrVecdouble) Setitem(arg2 int, arg3 float64) {
_swig_wrap_vecdouble_setitem(arg1, arg2, arg3)
}
func _swig_wrap_delete_vecdouble(uintptr)
func DeleteVecdouble(arg1 Vecdouble) {
_swig_wrap_delete_vecdouble(arg1.Swigcptr())
}
type Vecdouble interface {
Swigcptr() uintptr
SwigIsVecdouble()
Get(arg2 int) *float64
Set(arg2 int, arg3 *float64)
Getitem(arg2 int) float64
Setitem(arg2 int, arg3 float64)
}
type SwigcptrVoid uintptr
type Void interface {
Swigcptr() uintptr;
}
func (p SwigcptrVoid) Swigcptr() uintptr {
return uintptr(p)
}
|