Maintain the status of global variables of dynamic library in Cgo and Golang

后端 未结 0 1277
孤城傲影
孤城傲影 2021-02-14 12:56

I use a C library in Golang code by using Cgo. The problem is that it seems that the state of the global variables is not maintained each time the C functions are called.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题