Struct parity_wasm::interpreter::TableInstance
[−]
[src]
pub struct TableInstance { /* fields omitted */ }
Table instance.
Methods
impl TableInstance
[src]
fn new(
variable_type: VariableType,
table_type: &TableType
) -> Result<Arc<Self>, Error>
variable_type: VariableType,
table_type: &TableType
) -> Result<Arc<Self>, Error>
New instance of the table
fn get(&self, offset: u32) -> Result<RuntimeValue, Error>
Get the specific value in the table
fn set_raw(&self, offset: u32, value: &[u32]) -> Result<(), Error>
Set the table value from raw slice
fn set(&self, offset: u32, value: RuntimeValue) -> Result<(), Error>
Set the table from runtime variable value