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

@@ -53,6 +53,6 @@ func Import(name *Object) *Module
// manipulate a modules __dict__.
//
// llgo:link (*Module).GetDict C.PyModule_GetDict
func (m *Module) GetDict() *Object { panic("unreachable") }
func (m *Module) GetDict() *Object { return nil }
// -----------------------------------------------------------------------------