cl: initPyModule

This commit is contained in:
xushiwei
2024-05-11 10:07:46 +08:00
parent 2560a333b6
commit 427d87be68
8 changed files with 48 additions and 0 deletions

14
cl/_testpy/math/in.go Normal file
View File

@@ -0,0 +1,14 @@
package math
import (
_ "unsafe"
"github.com/goplus/llgo/py"
)
const (
LLGoPackage = "py.math"
)
//go:linkname Sqrt py.sqrt
func Sqrt(x *py.Object) *py.Object