summaryrefslogtreecommitdiff
path: root/Examples/go/pointer/example.go
blob: 567c41c323619fc14d0bb898827b8f31907d82cb (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
/* ----------------------------------------------------------------------------
 * 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_add(*int, *int, *int)

func Add(arg1 *int, arg2 *int, arg3 *int) {
	_swig_wrap_add(arg1, arg2, arg3)
}

func New_intp() *int
func Copy_intp(int) *int
func _swig_wrap_delete_intp(*int)

func Delete_intp(arg1 *int) {
	_swig_wrap_delete_intp(arg1)
}

func _swig_wrap_intp_assign(*int, int)

func Intp_assign(arg1 *int, arg2 int) {
	_swig_wrap_intp_assign(arg1, arg2)
}

func Intp_value(*int) int
func _swig_wrap_sub(int, int, []int)

func Sub(arg1 int, arg2 int, arg3 []int) {
	_swig_wrap_sub(arg1, arg2, arg3)
}

func Divide(int, int, []int) int

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