summaryrefslogtreecommitdiff
path: root/Examples/go/variables/example.go
blob: f4f299b731984786fad197d9ccfdcba3791a2784 (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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
/* ----------------------------------------------------------------------------
 * 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 _swig_wrap_ivar_set(int)

func SetIvar(arg1 int) {
	_swig_wrap_ivar_set(arg1)
}

func GetIvar() int
func _swig_wrap_svar_set(int16)

func SetSvar(arg1 int16) {
	_swig_wrap_svar_set(arg1)
}

func GetSvar() int16
func _swig_wrap_lvar_set(int32)

func SetLvar(arg1 int32) {
	_swig_wrap_lvar_set(arg1)
}

func GetLvar() int32
func _swig_wrap_uivar_set(uint)

func SetUivar(arg1 uint) {
	_swig_wrap_uivar_set(arg1)
}

func GetUivar() uint
func _swig_wrap_usvar_set(uint16)

func SetUsvar(arg1 uint16) {
	_swig_wrap_usvar_set(arg1)
}

func GetUsvar() uint16
func _swig_wrap_ulvar_set(uint32)

func SetUlvar(arg1 uint32) {
	_swig_wrap_ulvar_set(arg1)
}

func GetUlvar() uint32
func _swig_wrap_scvar_set(int8)

func SetScvar(arg1 int8) {
	_swig_wrap_scvar_set(arg1)
}

func GetScvar() int8
func _swig_wrap_ucvar_set(byte)

func SetUcvar(arg1 byte) {
	_swig_wrap_ucvar_set(arg1)
}

func GetUcvar() byte
func _swig_wrap_cvar_set(byte)

func SetCvar(arg1 byte) {
	_swig_wrap_cvar_set(arg1)
}

func GetCvar() byte
func _swig_wrap_fvar_set(float32)

func SetFvar(arg1 float32) {
	_swig_wrap_fvar_set(arg1)
}

func GetFvar() float32
func _swig_wrap_dvar_set(float64)

func SetDvar(arg1 float64) {
	_swig_wrap_dvar_set(arg1)
}

func GetDvar() float64
func _swig_wrap_strvar_set(string)

func SetStrvar(arg1 string) {
	_swig_wrap_strvar_set(arg1)
}

func GetStrvar() string
func GetCstrvar() string
func _swig_wrap_iptrvar_set(*int)

func SetIptrvar(arg1 *int) {
	_swig_wrap_iptrvar_set(arg1)
}

func GetIptrvar() *int
func _swig_wrap_name_set(string)

func SetName(arg1 string) {
	_swig_wrap_name_set(arg1)
}

func GetName() string
func _swig_wrap_ptptr_set(uintptr)

func SetPtptr(arg1 Point) {
	_swig_wrap_ptptr_set(arg1.Swigcptr())
}

func _swig_wrap_ptptr_get() SwigcptrPoint

func GetPtptr() Point {
	return _swig_wrap_ptptr_get()
}

func _swig_wrap_pt_set(uintptr)

func SetPt(arg1 Point) {
	_swig_wrap_pt_set(arg1.Swigcptr())
}

func _swig_wrap_pt_get() SwigcptrPoint

func GetPt() Point {
	return _swig_wrap_pt_get()
}

func GetStatus() int
func GetPath() string
func _swig_wrap_print_vars()

func Print_vars() {
	_swig_wrap_print_vars()
}

func New_int(int) *int
func _swig_wrap_new_Point(int, int) SwigcptrPoint

func New_Point(arg1 int, arg2 int) Point {
	return _swig_wrap_new_Point(arg1, arg2)
}

func _swig_wrap_Point_print(uintptr) string

func Point_print(arg1 Point) string {
	return _swig_wrap_Point_print(arg1.Swigcptr())
}

func _swig_wrap_pt_print()

func Pt_print() {
	_swig_wrap_pt_print()
}


type SwigcptrPoint uintptr
type Point interface {
	Swigcptr() uintptr;
}
func (p SwigcptrPoint) Swigcptr() uintptr {
	return uintptr(p)
}

type SwigcptrVoid uintptr
type Void interface {
	Swigcptr() uintptr;
}
func (p SwigcptrVoid) Swigcptr() uintptr {
	return uintptr(p)
}