func main() { C.sayhello() i := 100 ip := unsafe.Pointer(&i) C.add((*C.int)(ip)) fmt.Println(i) C.say((*C.int)(ip)) fmt.Println(i) }
func testPrintf(t *testing.T) { C.say() }