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:
Yury Delendik
2019-11-14 10:40:04 -06:00
committed by GitHub
parent a495418210
commit 36cb806c54
10 changed files with 252 additions and 639 deletions

View File

@@ -2,10 +2,10 @@
extern crate alloc;
use alloc::rc::Rc;
use pyo3::prelude::*;
use wasmtime_api as api;
#[pyclass]
pub struct Module {
pub module: Rc<wasmtime_environ::Module>,
pub module: api::HostRef<api::Module>,
}