mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-22 13:11:32 +00:00
Get table imports working
This commit is contained in:
@ -19,10 +19,10 @@ macro_rules! func {
|
||||
Export::Function {
|
||||
func: unsafe { FuncPointer::new(func as _) },
|
||||
ctx: Context::Internal,
|
||||
signature: FuncSig {
|
||||
params: vec![$($crate::__export_func_convert_type!($params),)*],
|
||||
returns: vec![$($crate::__export_func_convert_type!($returns),)*],
|
||||
},
|
||||
signature: FuncSig::new(
|
||||
&[$($crate::__export_func_convert_type!($params),)*] as &[Type],
|
||||
&[$($crate::__export_func_convert_type!($returns),)*] as &[Type],
|
||||
).into(),
|
||||
}
|
||||
}};
|
||||
}
|
||||
|
Reference in New Issue
Block a user