llpyg: todo

This commit is contained in:
xushiwei
2024-05-14 15:34:53 +08:00
parent d8bd8be57e
commit 35a73b4cde
5 changed files with 127 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ func main() {
val := mod.GetAttr(key)
doc := val.GetAttrString(c.Str("__doc__"))
sym := cjson.Object()
sym.SetItem(c.Str("type"), cjson.String(val.Type().Name().CStr()))
sym.SetItem(c.Str("name"), cjson.String(key.CStr()))
sym.SetItem(c.Str("doc"), cjson.String(doc.CStr()))
if val.Callable() != 0 && false {