mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-26 23:21:35 +00:00
Add imported tables
This commit is contained in:
@ -56,6 +56,10 @@ impl ModuleInner {
|
||||
pub(crate) fn is_imported_memory(&self, memory_index: MemoryIndex) -> bool {
|
||||
memory_index.index() < self.imported_memories.len()
|
||||
}
|
||||
|
||||
pub(crate) fn is_imported_table(&self, table_index: TableIndex) -> bool {
|
||||
table_index.index() < self.imported_tables.len()
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
|
Reference in New Issue
Block a user