cgo引用外部c文件注意1

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

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

posted @ 2020-04-06 15:44  kekemuyu  Views(563)  Comments(0Edit  收藏  举报