Skip to contents

Create a WASM host function that takes two f64 arguments and returns an f64, using an R function as the implementation.

Usage

wasmer_function_new_f64_f64_to_f64(ptr, rfun)

Details

Create a WASM host function with signature (f64, f64) -> f64

Examples

if (FALSE) { # \dontrun{
wasmer_function_new_f64_f64_to_f64(ptr, function(x, y) x * y)
} # }