Merge branch 'fix/emscripten-translate' of github.com:wasmerio/wasmer into feature/better-type-support

This commit is contained in:
Lachlan Sneff
2019-02-01 13:13:12 -08:00
233 changed files with 1170 additions and 881 deletions

View File

@ -14,7 +14,7 @@ macro_rules! debug {
#[macro_export]
macro_rules! func {
($func:ident, [ $( $params:ident ),* ] -> [ $( $returns:ident ),* ] ) => {{
($func:path, [ $( $params:ident ),* ] -> [ $( $returns:ident ),* ] ) => {{
use $crate::{
export::{Context, Export, FuncPointer},
types::{FuncSig, Type, WasmExternType},

View File

@ -230,7 +230,7 @@ impl Memory {
f(t_buffer)
}
pub(crate) fn vm_local_memory(&mut self) -> *mut vm::LocalMemory {
pub fn vm_local_memory(&mut self) -> *mut vm::LocalMemory {
&mut *self.storage.borrow_mut().1
}
}

View File

@ -112,7 +112,7 @@ impl Table {
}
}
pub(crate) fn vm_local_table(&mut self) -> *mut vm::LocalTable {
pub fn vm_local_table(&mut self) -> *mut vm::LocalTable {
&mut self.storage.borrow_mut().1
}
}