mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-21 20:51:32 +00:00
Merge branch 'fix/emscripten-translate' of github.com:wasmerio/wasmer into feature/better-type-support
This commit is contained in:
@ -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},
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user