Guest User

Untitled

a guest
Sep 10th, 2021
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. wasm_val_t in[3];
  2. in[0].kind = WASM_I32;
  3. in[0].of.i32 = Type_Version;
  4.  
  5. in[1].kind = WASM_I32;
  6. in[1].of.i32 = my_value;
  7.  
  8. in[2].kind = WASM_I32;
  9. in[2].of.i32 = my_value_2;
  10.  
  11. wasm_val_t out;
  12. out.kind = WASM_I32;
  13. out.of.i32 = 0;
  14.  
  15. if (wasm_func_call(m_assembly.m_init_fn, in, &out))
Advertisement
Add Comment
Please, Sign In to add comment