Skip to contents

Grow a WASM Table by a number of elements.

Usage

wasmer_table_grow_ext(ptr, table_ptr, delta, func_ptr)

Arguments

ptr

External pointer to WasmerRuntime.

table_ptr

External pointer to Table.

delta

Number of elements to grow.

func_ptr

External pointer to Function to fill new slots.

Value

Previous size

Details

Grow a WASM Table

Examples

if (FALSE) { # \dontrun{
wasmer_table_grow_ext(ptr, table_ptr, 1, func_ptr)
} # }