Removed from_vm_export in favor of from_vm_extern

This commit is contained in:
ptitSeb
2022-08-19 12:15:55 +02:00
parent 85a697f7cc
commit 6cf99a63f6
4 changed files with 10 additions and 14 deletions

View File

@@ -46,7 +46,7 @@ impl Extern {
}
/// Create an `Extern` from an `wasmer_compiler::Export`.
pub fn from_vm_export(store: &mut impl AsStoreMut, export: Export) -> Self {
pub fn from_vm_extern(store: &mut impl AsStoreMut, export: Export) -> Self {
match export {
Export::Function(f) => Self::Function(Function::from_vm_extern(store, f)),
Export::Memory(m) => Self::Memory(Memory::from_vm_extern(store, m)),