Wasmtime
|
#include <table.hh>
Public Member Functions | |
Ref (const wasm_tabletype_t *ptr) | |
Creates a reference from the raw underlying C API representation. | |
Ref (const TableType &ty) | |
Creates a reference to the provided TableType . | |
uint32_t | min () const |
Returns the minimum size of this table type, in elements. | |
std::optional< uint32_t > | max () const |
Returns the maximum size of this table type, in elements, if present. | |
ValType::Ref | element () const |
Returns the type of value that is stored in this table. | |
Friends | |
class | TableType |
Non-owning reference to a TableType
, must not be used after the original owner is deleted.