remove c2go support

This commit is contained in:
xushiwei
2024-05-18 19:51:39 +08:00
parent 1be8052caa
commit 5750447826
2 changed files with 9 additions and 1 deletions

View File

@@ -55,6 +55,8 @@ And you can import any Python library into `llgo` through a program called `llpy
* [inspect](https://pkg.go.dev/github.com/goplus/llgo/py/inspect) * [inspect](https://pkg.go.dev/github.com/goplus/llgo/py/inspect)
* [statistics](https://pkg.go.dev/github.com/goplus/llgo/py/statistics) * [statistics](https://pkg.go.dev/github.com/goplus/llgo/py/statistics)
* [numpy](https://pkg.go.dev/github.com/goplus/llgo/py/numpy) * [numpy](https://pkg.go.dev/github.com/goplus/llgo/py/numpy)
* [pandas](https://pkg.go.dev/github.com/goplus/llgo/py/pandas)
* [pytorch](https://pkg.go.dev/github.com/goplus/llgo/py/torch)
Here is an example using the Python `math` library: Here is an example using the Python `math` library:

View File

@@ -63,9 +63,14 @@ func init() {
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
func NewFunc(params, results *types.Tuple, variadic bool) *types.Signature { func NewFunc(params, results *types.Tuple, variadic bool) *types.Signature {
return gogen.NewCSignature(params, results, variadic) panic("todo")
} }
func NewPointer(typ types.Type) types.Type {
panic("todo")
}
/*
func NewPointer(typ types.Type) types.Type { func NewPointer(typ types.Type) types.Type {
switch t := typ.(type) { switch t := typ.(type) {
case *types.Basic: case *types.Basic:
@@ -95,5 +100,6 @@ func IsFunc(typ types.Type) bool {
func Identical(typ1, typ2 types.Type) bool { func Identical(typ1, typ2 types.Type) bool {
return types.Identical(typ1, typ2) return types.Identical(typ1, typ2)
} }
*/
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------