mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-27 23:51:33 +00:00
Add imported globals
This commit is contained in:
@ -59,6 +59,10 @@ impl ModuleInner {
|
||||
pub(crate) fn is_imported_table(&self, table_index: TableIndex) -> bool {
|
||||
table_index.index() < self.imported_tables.len()
|
||||
}
|
||||
|
||||
pub(crate) fn is_imported_global(&self, global_index: GlobalIndex) -> bool {
|
||||
global_index.index() < self.imported_globals.len()
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
|
Reference in New Issue
Block a user