feat(api) Rename Extern::from_export to …::from_vm_export.

I hope this little change will clarify a little bit that the `Export`
passed to `Extern::from_vm_export` is not a `wasmer::Export` but a
`wasmer_vm::Export`.
This commit is contained in:
Ivan Enderlin
2020-11-19 11:01:56 +01:00
parent 8e7d7efb40
commit ca89bd5d75
9 changed files with 15 additions and 15 deletions

View File

@@ -180,7 +180,7 @@ impl Global {
Ok(())
}
pub(crate) fn from_export(store: &Store, wasmer_export: ExportGlobal) -> Self {
pub(crate) fn from_vm_export(store: &Store, wasmer_export: ExportGlobal) -> Self {
Self {
store: store.clone(),
global: wasmer_export.from,