llgo/ssa: pyCall; demo: _pydemo/callpy

This commit is contained in:
xushiwei
2024-05-11 23:38:21 +08:00
parent a2d7a8c978
commit 94a7ee024a
12 changed files with 214 additions and 25 deletions

View File

@@ -29,4 +29,4 @@ func Float(v float64) *Object
func FloatFromSring(v *Object) *Object
// llgo:link (*Object).Float64 C.PyFloat_AsDouble
func (o *Object) Float64() float64 { panic("unreachable") }
func (o *Object) Float64() float64 { return 0 }