feat(deprecated) Port TypedIndex (alias to EntityRef).

This commit is contained in:
Ivan Enderlin
2020-05-26 10:50:50 +02:00
parent 9a5de7dd57
commit f605b79baf
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
use crate::{module::Module, new, types::Value};
use crate::{module::Module, new, structures::TypedIndex, types::Value};
use std::{convert::Infallible, error::Error};
pub use new::wasmer::Exports;
@@ -41,8 +41,6 @@ impl Instance {
note = "Please use `instance.module().info().resolve_func(name)` instead."
)]
pub fn resolve_func(&self, name: &str) -> Result<usize, ()> {
use new::wasm_common::entity::EntityRef;
self.new_instance
.module()
.info()