cgo引用外部c文件注意1

//void SayHello(const char* s);
import "C"

  import和上边的c声明之间不能有空格

猜你喜欢

转载自www.cnblogs.com/kekemuyu/p/12642393.html