summaryrefslogtreecommitdiff
path: root/Examples/test-suite/go/derived_byvalue.go
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/go/derived_byvalue.go')
-rw-r--r--Examples/test-suite/go/derived_byvalue.go316
1 files changed, 0 insertions, 316 deletions
diff --git a/Examples/test-suite/go/derived_byvalue.go b/Examples/test-suite/go/derived_byvalue.go
deleted file mode 100644
index 483215912..000000000
--- a/Examples/test-suite/go/derived_byvalue.go
+++ /dev/null
@@ -1,316 +0,0 @@
-/* ----------------------------------------------------------------------------
- * 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: ./../derived_byvalue.i
-
-package derived_byvalue
-
-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 SwigcptrFoo uintptr
-
-func (p SwigcptrFoo) Swigcptr() uintptr {
- return (uintptr)(p)
-}
-
-func (p SwigcptrFoo) SwigIsFoo() {
-}
-
-var _wrap_Foo_x_set unsafe.Pointer
-
-func _swig_wrap_Foo_x_set(base SwigcptrFoo, _ int) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_Foo_x_set, _swig_p)
- return
-}
-
-func (arg1 SwigcptrFoo) SetX(arg2 int) {
- _swig_wrap_Foo_x_set(arg1, arg2)
-}
-
-var _wrap_Foo_x_get unsafe.Pointer
-
-func _swig_wrap_Foo_x_get(base SwigcptrFoo) (_ int) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_Foo_x_get, _swig_p)
- return
-}
-
-func (arg1 SwigcptrFoo) GetX() (_swig_ret int) {
- return _swig_wrap_Foo_x_get(arg1)
-}
-
-var _wrap_Foo_rmethod unsafe.Pointer
-
-func _swig_wrap_Foo_rmethod(base SwigcptrFoo, _ uintptr) (_ int) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_Foo_rmethod, _swig_p)
- return
-}
-
-func (arg1 SwigcptrFoo) Rmethod(arg2 Foo) (_swig_ret int) {
- return _swig_wrap_Foo_rmethod(arg1, arg2.Swigcptr())
-}
-
-var _wrap_Foo_method unsafe.Pointer
-
-func _swig_wrap_Foo_method(base SwigcptrFoo, _ uintptr) (_ int) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_Foo_method, _swig_p)
- return
-}
-
-func (arg1 SwigcptrFoo) Method(arg2 Foo) (_swig_ret int) {
- return _swig_wrap_Foo_method(arg1, arg2.Swigcptr())
-}
-
-var _wrap_new_Foo unsafe.Pointer
-
-func _swig_wrap_new_Foo() (base SwigcptrFoo) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_new_Foo, _swig_p)
- return
-}
-
-func NewFoo() (_swig_ret Foo) {
- return _swig_wrap_new_Foo()
-}
-
-var _wrap_delete_Foo unsafe.Pointer
-
-func _swig_wrap_delete_Foo(base uintptr) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_delete_Foo, _swig_p)
- return
-}
-
-func DeleteFoo(arg1 Foo) {
- _swig_wrap_delete_Foo(arg1.Swigcptr())
-}
-
-type Foo interface {
- Swigcptr() uintptr
- SwigIsFoo()
- SetX(arg2 int)
- GetX() (_swig_ret int)
- Rmethod(arg2 Foo) (_swig_ret int)
- Method(arg2 Foo) (_swig_ret int)
-}
-
-type SwigcptrBar uintptr
-
-func (p SwigcptrBar) Swigcptr() uintptr {
- return (uintptr)(p)
-}
-
-func (p SwigcptrBar) SwigIsBar() {
-}
-
-var _wrap_Bar_a_set unsafe.Pointer
-
-func _swig_wrap_Bar_a_set(base SwigcptrBar, _ uintptr) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_Bar_a_set, _swig_p)
- return
-}
-
-func (arg1 SwigcptrBar) SetA(arg2 Foo) {
- _swig_wrap_Bar_a_set(arg1, arg2.Swigcptr())
-}
-
-var _wrap_Bar_a_get unsafe.Pointer
-
-func _swig_wrap_Bar_a_get(base SwigcptrBar) (_ SwigcptrFoo) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_Bar_a_get, _swig_p)
- return
-}
-
-func (arg1 SwigcptrBar) GetA() (_swig_ret Foo) {
- return _swig_wrap_Bar_a_get(arg1)
-}
-
-var _wrap_Bar_b_set unsafe.Pointer
-
-func _swig_wrap_Bar_b_set(base SwigcptrBar, _ uintptr) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_Bar_b_set, _swig_p)
- return
-}
-
-func (arg1 SwigcptrBar) SetB(arg2 Foo) {
- _swig_wrap_Bar_b_set(arg1, arg2.Swigcptr())
-}
-
-var _wrap_Bar_b_get unsafe.Pointer
-
-func _swig_wrap_Bar_b_get(base SwigcptrBar) (_ SwigcptrFoo) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_Bar_b_get, _swig_p)
- return
-}
-
-func (arg1 SwigcptrBar) GetB() (_swig_ret Foo) {
- return _swig_wrap_Bar_b_get(arg1)
-}
-
-var _wrap_new_Bar unsafe.Pointer
-
-func _swig_wrap_new_Bar() (base SwigcptrBar) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_new_Bar, _swig_p)
- return
-}
-
-func NewBar() (_swig_ret Bar) {
- return _swig_wrap_new_Bar()
-}
-
-var _wrap_delete_Bar unsafe.Pointer
-
-func _swig_wrap_delete_Bar(base uintptr) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_delete_Bar, _swig_p)
- return
-}
-
-func DeleteBar(arg1 Bar) {
- _swig_wrap_delete_Bar(arg1.Swigcptr())
-}
-
-type Bar interface {
- Swigcptr() uintptr
- SwigIsBar()
- SetA(arg2 Foo)
- GetA() (_swig_ret Foo)
- SetB(arg2 Foo)
- GetB() (_swig_ret Foo)
-}
-
-type SwigcptrDerFoo uintptr
-
-func (p SwigcptrDerFoo) Swigcptr() uintptr {
- return (uintptr)(p)
-}
-
-func (p SwigcptrDerFoo) SwigIsDerFoo() {
-}
-
-var _wrap_new_DerFoo unsafe.Pointer
-
-func _swig_wrap_new_DerFoo() (base SwigcptrDerFoo) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_new_DerFoo, _swig_p)
- return
-}
-
-func NewDerFoo() (_swig_ret DerFoo) {
- return _swig_wrap_new_DerFoo()
-}
-
-var _wrap_delete_DerFoo unsafe.Pointer
-
-func _swig_wrap_delete_DerFoo(base uintptr) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_delete_DerFoo, _swig_p)
- return
-}
-
-func DeleteDerFoo(arg1 DerFoo) {
- _swig_wrap_delete_DerFoo(arg1.Swigcptr())
-}
-
-var _wrap_SetDerFoo_X unsafe.Pointer
-
-func _swig_wrap_SetDerFoo_X(base SwigcptrDerFoo, _ int) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_SetDerFoo_X, _swig_p)
- return
-}
-
-func (_swig_base SwigcptrDerFoo) SetX(arg1 int) {
- _swig_wrap_SetDerFoo_X(_swig_base, arg1)
-}
-
-var _wrap_GetDerFoo_X unsafe.Pointer
-
-func _swig_wrap_GetDerFoo_X(base SwigcptrDerFoo) (_ int) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_GetDerFoo_X, _swig_p)
- return
-}
-
-func (_swig_base SwigcptrDerFoo) GetX() (_swig_ret int) {
- return _swig_wrap_GetDerFoo_X(_swig_base)
-}
-
-var _wrap_DerFoo_rmethod unsafe.Pointer
-
-func _swig_wrap_DerFoo_rmethod(base SwigcptrDerFoo, _ uintptr) (_ int) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_DerFoo_rmethod, _swig_p)
- return
-}
-
-func (_swig_base SwigcptrDerFoo) Rmethod(arg1 Foo) (_swig_ret int) {
- return _swig_wrap_DerFoo_rmethod(_swig_base, arg1.Swigcptr())
-}
-
-var _wrap_DerFoo_method unsafe.Pointer
-
-func _swig_wrap_DerFoo_method(base SwigcptrDerFoo, _ uintptr) (_ int) {
- _swig_p := uintptr(unsafe.Pointer(&base))
- _cgo_runtime_cgocall(_wrap_DerFoo_method, _swig_p)
- return
-}
-
-func (_swig_base SwigcptrDerFoo) Method(arg1 Foo) (_swig_ret int) {
- return _swig_wrap_DerFoo_method(_swig_base, arg1.Swigcptr())
-}
-
-func (p SwigcptrDerFoo) SwigIsFoo() {
-}
-
-func (p SwigcptrDerFoo) SwigGetFoo() Foo {
- return SwigcptrFoo(p.Swigcptr())
-}
-
-type DerFoo interface {
- Swigcptr() uintptr
- SwigIsDerFoo()
- SetX(arg1 int)
- GetX() (_swig_ret int)
- Rmethod(arg1 Foo) (_swig_ret int)
- Method(arg1 Foo) (_swig_ret int)
- SwigIsFoo()
- SwigGetFoo() Foo
-}
-
-
-type SwigcptrVoid uintptr
-type Void interface {
- Swigcptr() uintptr;
-}
-func (p SwigcptrVoid) Swigcptr() uintptr {
- return uintptr(p)
-}
-