diff options
Diffstat (limited to 'Examples/test-suite/go/restrict_cplusplus.go')
-rw-r--r-- | Examples/test-suite/go/restrict_cplusplus.go | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/Examples/test-suite/go/restrict_cplusplus.go b/Examples/test-suite/go/restrict_cplusplus.go deleted file mode 100644 index 4c0706a33..000000000 --- a/Examples/test-suite/go/restrict_cplusplus.go +++ /dev/null @@ -1,101 +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: ./../restrict_cplusplus.i - -package restrict_cplusplus - -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_restrict_set unsafe.Pointer - -func _swig_wrap_Foo_restrict_set(base SwigcptrFoo, _ int) { - _swig_p := uintptr(unsafe.Pointer(&base)) - _cgo_runtime_cgocall(_wrap_Foo_restrict_set, _swig_p) - return -} - -func (arg1 SwigcptrFoo) SetRestrict(arg2 int) { - _swig_wrap_Foo_restrict_set(arg1, arg2) -} - -var _wrap_Foo_restrict_get unsafe.Pointer - -func _swig_wrap_Foo_restrict_get(base SwigcptrFoo) (_ int) { - _swig_p := uintptr(unsafe.Pointer(&base)) - _cgo_runtime_cgocall(_wrap_Foo_restrict_get, _swig_p) - return -} - -func (arg1 SwigcptrFoo) GetRestrict() (_swig_ret int) { - return _swig_wrap_Foo_restrict_get(arg1) -} - -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() - SetRestrict(arg2 int) - GetRestrict() (_swig_ret int) -} - - -type SwigcptrVoid uintptr -type Void interface { - Swigcptr() uintptr; -} -func (p SwigcptrVoid) Swigcptr() uintptr { - return uintptr(p) -} - |