LLGoPackage: PkgPyModule

This commit is contained in:
xushiwei
2024-05-11 06:44:45 +08:00
parent cca46573ea
commit 1414853fce
4 changed files with 8 additions and 2 deletions

View File

@@ -14,7 +14,6 @@
* limitations under the License.
*/
// llgo:import py.math
package math
import (
@@ -23,5 +22,9 @@ import (
"github.com/goplus/llgo/py"
)
const (
LLGoPackage = "py.math"
)
//go:linkname Sqrt py.sqrt
func Sqrt(x *py.Object) *py.Object