MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime-go / Get

Method Get

val.go:157–159  ·  view source on GitHub ↗

Get returns the underlying 64-bit float if this is an `f64`, or panics.

()

Source from the content-addressed store, hash-verified

155
156// Get returns the underlying 64-bit float if this is an `f64`, or panics.
157func (v Val) Get() interface{} {
158 return v.val
159}
160
161func (v Val) initialize(store Storelike, ptr *C.wasmtime_val_t) {
162 ptr.kind = v.kind

Callers 7

TestRefTypesValFunction · 0.45
TestRefTypesTableFunction · 0.45
TestRefTypesGlobalFunction · 0.45
goTrampolineWrapFunction · 0.45
CallMethod · 0.45
ExampleConfig_multiFunction · 0.45
ExampleVal_ExternrefFunction · 0.45

Calls

no outgoing calls

Tested by 5

TestRefTypesValFunction · 0.36
TestRefTypesTableFunction · 0.36
TestRefTypesGlobalFunction · 0.36
ExampleConfig_multiFunction · 0.36
ExampleVal_ExternrefFunction · 0.36