diff --git a/README.md b/README.md index b58bbb0b..bda697c2 100644 --- a/README.md +++ b/README.md @@ -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) * [statistics](https://pkg.go.dev/github.com/goplus/llgo/py/statistics) * [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: diff --git a/xtool/clang/types/types.go b/xtool/clang/types/types.go index df52fa95..3c617159 100644 --- a/xtool/clang/types/types.go +++ b/xtool/clang/types/types.go @@ -63,9 +63,14 @@ func init() { // ----------------------------------------------------------------------------- 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 { switch t := typ.(type) { case *types.Basic: @@ -95,5 +100,6 @@ func IsFunc(typ types.Type) bool { func Identical(typ1, typ2 types.Type) bool { return types.Identical(typ1, typ2) } +*/ // -----------------------------------------------------------------------------