feat(api) Make Extern::from_export public.

This commit is contained in:
Ivan Enderlin
2020-06-15 13:32:22 +02:00
parent 8269154165
commit 13b18e76df

View File

@@ -31,7 +31,7 @@ impl Extern {
}
}
pub(crate) fn from_export(store: &Store, export: Export) -> Extern {
pub fn from_export(store: &Store, export: Export) -> Extern {
match export {
Export::Function(f) => Extern::Function(Function::from_export(store, f)),
Export::Memory(m) => Extern::Memory(Memory::from_export(store, m)),