Added module.info.exports for O(1) retrieval

This commit is contained in:
Syrus Akbary
2018-10-15 13:45:44 +02:00
parent 4c1e450c7f
commit 1482648219
3 changed files with 50 additions and 9 deletions

View File

@ -16,7 +16,7 @@ use wasmparser;
pub use self::errors::{Error, ErrorKind};
pub use self::instance::Instance;
pub use self::memory::LinearMemory;
pub use self::module::Module;
pub use self::module::{Export, Module, ModuleInfo};
pub struct ResultObject {
/// A webassembly::Module object representing the compiled WebAssembly module.