github.com/notti/go-dynamic@v0.0.0-20190619201224-fc443047424c/steps/3_goffi/testlib/test.go (about) 1 package main 2 3 // int test_call(short a, int b, float c, double d); 4 import "C" 5 import "fmt" 6 7 func main() { 8 fmt.Println(C.test_call(1, 2, 3, 4)) 9 }