summaryrefslogtreecommitdiff
path: root/Examples/test-suite/go/inherit_same_name.go
blob: 6993a8b934b9d4ac31f1f9ce4c23eb449aab85b2 (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
199
200
201
202
203
204
/* ----------------------------------------------------------------------------
 * 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: ./../inherit_same_name.i

package inherit_same_name

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 SwigcptrBase uintptr

func (p SwigcptrBase) Swigcptr() uintptr {
	return (uintptr)(p)
}

func (p SwigcptrBase) SwigIsBase() {
}

var _wrap_new_Base unsafe.Pointer

func _swig_wrap_new_Base() (base SwigcptrBase) {
	_swig_p := uintptr(unsafe.Pointer(&base))
	_cgo_runtime_cgocall(_wrap_new_Base, _swig_p)
	return
}

func NewBase() (_swig_ret Base) {
	return _swig_wrap_new_Base()
}

var _wrap_delete_Base unsafe.Pointer

func _swig_wrap_delete_Base(base uintptr) {
	_swig_p := uintptr(unsafe.Pointer(&base))
	_cgo_runtime_cgocall(_wrap_delete_Base, _swig_p)
	return
}

func DeleteBase(arg1 Base) {
	_swig_wrap_delete_Base(arg1.Swigcptr())
}

type Base interface {
	Swigcptr() uintptr
	SwigIsBase()
}

type SwigcptrDerived uintptr

func (p SwigcptrDerived) Swigcptr() uintptr {
	return (uintptr)(p)
}

func (p SwigcptrDerived) SwigIsDerived() {
}

var _wrap_Derived_MethodOrVariable unsafe.Pointer

func _swig_wrap_Derived_MethodOrVariable(base SwigcptrDerived) {
	_swig_p := uintptr(unsafe.Pointer(&base))
	_cgo_runtime_cgocall(_wrap_Derived_MethodOrVariable, _swig_p)
	return
}

func (arg1 SwigcptrDerived) MethodOrVariable() {
	_swig_wrap_Derived_MethodOrVariable(arg1)
}

var _wrap_new_Derived unsafe.Pointer

func _swig_wrap_new_Derived() (base SwigcptrDerived) {
	_swig_p := uintptr(unsafe.Pointer(&base))
	_cgo_runtime_cgocall(_wrap_new_Derived, _swig_p)
	return
}

func NewDerived() (_swig_ret Derived) {
	return _swig_wrap_new_Derived()
}

var _wrap_delete_Derived unsafe.Pointer

func _swig_wrap_delete_Derived(base uintptr) {
	_swig_p := uintptr(unsafe.Pointer(&base))
	_cgo_runtime_cgocall(_wrap_delete_Derived, _swig_p)
	return
}

func DeleteDerived(arg1 Derived) {
	_swig_wrap_delete_Derived(arg1.Swigcptr())
}

func (p SwigcptrDerived) SwigIsBase() {
}

func (p SwigcptrDerived) SwigGetBase() Base {
	return SwigcptrBase(p.Swigcptr())
}

type Derived interface {
	Swigcptr() uintptr
	SwigIsDerived()
	MethodOrVariable()
	SwigIsBase()
	SwigGetBase() Base
}

type SwigcptrBottom uintptr

func (p SwigcptrBottom) Swigcptr() uintptr {
	return (uintptr)(p)
}

func (p SwigcptrBottom) SwigIsBottom() {
}

var _wrap_Bottom_MethodOrVariable unsafe.Pointer

func _swig_wrap_Bottom_MethodOrVariable(base SwigcptrBottom) {
	_swig_p := uintptr(unsafe.Pointer(&base))
	_cgo_runtime_cgocall(_wrap_Bottom_MethodOrVariable, _swig_p)
	return
}

func (arg1 SwigcptrBottom) MethodOrVariable() {
	_swig_wrap_Bottom_MethodOrVariable(arg1)
}

var _wrap_new_Bottom unsafe.Pointer

func _swig_wrap_new_Bottom() (base SwigcptrBottom) {
	_swig_p := uintptr(unsafe.Pointer(&base))
	_cgo_runtime_cgocall(_wrap_new_Bottom, _swig_p)
	return
}

func NewBottom() (_swig_ret Bottom) {
	return _swig_wrap_new_Bottom()
}

var _wrap_delete_Bottom unsafe.Pointer

func _swig_wrap_delete_Bottom(base uintptr) {
	_swig_p := uintptr(unsafe.Pointer(&base))
	_cgo_runtime_cgocall(_wrap_delete_Bottom, _swig_p)
	return
}

func DeleteBottom(arg1 Bottom) {
	_swig_wrap_delete_Bottom(arg1.Swigcptr())
}

func (p SwigcptrBottom) SwigIsDerived() {
}

func (p SwigcptrBottom) SwigGetDerived() Derived {
	return SwigcptrDerived(p.Swigcptr())
}

func (p SwigcptrBottom) SwigIsBase() {
}

func (p SwigcptrBottom) SwigGetBase() Base {
	return SwigcptrBase(p.Swigcptr())
}

type Bottom interface {
	Swigcptr() uintptr
	SwigIsBottom()
	MethodOrVariable()
	SwigIsDerived()
	SwigGetDerived() Derived
	SwigIsBase()
	SwigGetBase() Base
}


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