Skip to contents

Create a WASM host function that takes an i32 and returns nothing, using an R function as the implementation.

Usage

wasmer_function_new_i32_to_void(ptr, rfun)

Details

Create a WASM host function with signature i32 -> void

Examples

if (FALSE) { # \dontrun{
wasmer_function_new_i32_to_void(ptr, function(x) cat(x))
} # }