This commit is contained in:
Mackenzie Clark 2019-03-26 20:07:00 -07:00
parent 8dd158d3fb
commit d65a5dfe57
2 changed files with 2 additions and 2 deletions

View File

@ -424,7 +424,7 @@ pub fn generate_emscripten_env(globals: &mut EmscriptenGlobals) -> ImportObject
func!(crate::memory::abort_on_cannot_grow_memory).to_export()
};
let mut env_ns = ecapseman! {
let mut env_ns = namespace! {
"memory" => Export::Memory(globals.memory.clone()),
"table" => Export::Table(globals.table.clone()),

View File

@ -78,7 +78,7 @@ macro_rules! __imports_internal {
#[macro_export]
#[doc(hidden)]
macro_rules! ecapseman {
macro_rules! namespace {
( $( $imp_name:expr => $import_item:expr, )* ) => {{
let mut ns = $crate::import::Namespace::new();
$(