报错信息是调用函数的那行
could not determine kind of name for C.random
...全文
8121打赏收藏
golang 调用C 遇到问题
在尝试用 cgo的时候, 无法调用c中的random函数 请大神帮忙看下 package main // #include // #include import "C" import "fmt" func main() { fmt.Println(C.random(123)) } 报错信息是调用函数的那行 could not determine kind of name for C.random