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

Function takeVal

val.go:90–95  ·  view source on GitHub ↗
(store Storelike, src *C.wasmtime_val_t)

Source from the content-addressed store, hash-verified

88}
89
90func takeVal(store Storelike, src *C.wasmtime_val_t) Val {
91 ret := mkVal(store, src)
92 C.wasmtime_val_unroot(src)
93 runtime.KeepAlive(store)
94 return ret
95}
96
97// Kind returns the kind of value that this `Val` contains.
98func (v Val) Kind() ValKind {

Callers 3

GetMethod · 0.85
GetMethod · 0.85
CallMethod · 0.85

Calls 1

mkValFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…