adder.go 128 字节
Newer Older
L
liaogang 已提交
1 2 3 4 5 6 7 8 9 10
package main

import "C"

//export GoAdder
func GoAdder(x, y int) int {
	return x + y
}

func main() {} // Required but ignored