mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-06-26 21:22:13 +00:00
another tests added
This commit is contained in:
@ -54,6 +54,11 @@ impl VariableInstance {
|
||||
self.is_mutable
|
||||
}
|
||||
|
||||
/// Get variable type.
|
||||
pub fn variable_type(&self) -> VariableType {
|
||||
self.variable_type
|
||||
}
|
||||
|
||||
/// Get the value of the variable instance
|
||||
pub fn get(&self) -> RuntimeValue {
|
||||
self.value.read().clone()
|
||||
|
Reference in New Issue
Block a user