Skip to contents

Set a function reference in a WASM Table.

Usage

wasmer_table_set_ext(ptr, table_ptr, index, func_ptr)

Arguments

ptr

External pointer to WasmerRuntime.

table_ptr

External pointer to Table.

index

Index to set.

func_ptr

External pointer to Function.

Value

TRUE if successful

Details

Set a function reference in a WASM Table

Examples

if (FALSE) { # \dontrun{
wasmer_table_set_ext(ptr, table_ptr, 0, func_ptr)
} # }