Closed xiyanxiyan10 closed 4 years ago
I am afraid this can't be done correctly right now. (and I don't actually think that code ever worked either)
I'll remove the part of the API that suggested one could directly wrap a Go function as a C.PyCFuntion
.
code
when I run function run, panic happen in Py_InitModule
go version 1.13