Create host function (i32 -> i32)
wasmer_function_new_i32_to_i32.RdCreate a WASM host function that takes an i32 and returns an i32, using an R function as the implementation.
See also
wasmer_register_r_function_ext(), wasmer_function_new_ext(), wasmer_function_new_i32_i32_to_i32(), wasmer_function_new_f64_f64_to_f64(), wasmer_function_new_f64_to_f64(), wasmer_function_new_i32_to_void(), wasmer_function_new_void_to_i32()
Other host function registration:
wasmer_function_new_ext(),
wasmer_function_new_f64_f64_to_f64(),
wasmer_function_new_f64_to_f64(),
wasmer_function_new_i32_i32_to_i32(),
wasmer_function_new_i32_to_void(),
wasmer_function_new_void_to_i32(),
wasmer_register_r_function_ext()