import "C"
func f() {
var vGo int
var vC C.int
// fails to compile with error
// cannot use &vGo (type *int) as type *C.int in argument to...
C.c_function(&vGo)
// compiles just fine:
C.c_function(&vC)
}
I compile with CGO_ENABLED=1 GOARCH=arm...
What's the different in int and C.int types in this case?
Where do I find additional information on C types in GO?