Use embedding api in python extension (#569)
Now embedding API is used in the Python extension, this allows us to remove ModuleData::invoke() from wasmtime-interface-types
This commit is contained in:
@@ -106,6 +106,10 @@ impl Instance {
|
||||
&self.exports
|
||||
}
|
||||
|
||||
pub fn module(&self) -> &HostRef<Module> {
|
||||
&self.module
|
||||
}
|
||||
|
||||
pub fn find_export_by_name(&self, name: &str) -> Option<&Extern> {
|
||||
let (i, _) = self
|
||||
.module
|
||||
|
||||
Reference in New Issue
Block a user