Base Framework
|
#include <base/webassembly/WebAssembly.h>
Public Member Functions | |
WASMValue () | |
WASMValue (int32) | |
WASMValue (int64) | |
WASMValue (float) | |
WASMValue (double) | |
template<typename TYPE > | |
TYPE | toNative () const |
template<> | |
bool | toNative () const |
Public Attributes | |
Type | type = TYPE_i32 |
union { | |
int32 i32 | |
int64 i64 | |
float f32 | |
double f64 | |
}; | |
WASM value.
WebAssembly::WASMValue::WASMValue | ( | ) |
Initialize value.
WebAssembly::WASMValue::WASMValue | ( | int32 | ) |
Initialize value.
WebAssembly::WASMValue::WASMValue | ( | int64 | ) |
Initialize value.
WebAssembly::WASMValue::WASMValue | ( | float | ) |
Initialize value.
WebAssembly::WASMValue::WASMValue | ( | double | ) |
Initialize value.
TYPE WebAssembly::WASMValue::toNative | ( | ) | const |
Returns native type.