NAME

Wasm::Wasmer::Table - WebAssembly table

SYNOPSIS

my $table = $instance->export('some_named_table');

printf "Table size: %d\n", $table->size();

DESCRIPTION

This class represents external WebAssembly tables. It subclasses Wasm::Wasmer::Extern.

It’s limited by Wasmer’s own external table support, which currently allows only trivial interactions. Once Wasmer’s table support improves, this library can as well.

METHODS

$size = OBJ->size()

Returns the number of elements in the table.