3 ms·
What you can do: - Have some C code in your Go app that calls a Go function. What you can't do: - Have some C code in your C app that calls a Go function
by AYBABTME 13y ago
What you can do:
- Have some C code in your Go app that calls a Go function.
What you can't do:
- Have some C code in your C app that calls a Go function.
- Arnor 13y agoThe second answer to this stack overflow [0] indicates that you can run Go functions from C if you use gccgo [1]. [0] http://stackoverflow.com/questions/6125683/call-go-functions-from-c http://stackoverflow.com/questions/6125683/call-go-functions... [1] http://golang.org/doc/install/gccgo http://golang.org/doc/install/gccgo