llgo/ssa: PyList

This commit is contained in:
xushiwei
2024-05-15 14:49:00 +08:00
parent c1bf895674
commit 59d68c6438
9 changed files with 100 additions and 35 deletions

View File

@@ -24,6 +24,9 @@ import (
// https://docs.python.org/3/c-api/list.html
//go:linkname List llgo.pyList
func List(args ...any) *Object
// Return a new list of length len on success, or nil on failure.
//
//go:linkname NewList C.PyList_New