Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 430 Bytes

File metadata and controls

18 lines (14 loc) · 430 Bytes

multi-value-gen

感谢wasm-bindgen提供的思路

使用

multi_value_gen -i <文件路径> -o <文件路径> -f <函数名:返回类型,...;...>

参数:

  • -i: 输入wasm文件路径
  • -o: 输出wasm文件路径
  • -f: 函数签名列表,格式为:
    <函数名:返回类型,...;...>
    
    返回值类型有: i32, i64, f32, f64