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

Function initializeExternrefArgImpl

val_feat_gc.go:38–42  ·  view source on GitHub ↗
(store Storelike, val interface{}, dst *C.wasmtime_val_t)

Source from the content-addressed store, hash-verified

36}
37
38func initializeExternrefArgImpl(store Storelike, val interface{}, dst *C.wasmtime_val_t) Val {
39 externref := ValExternref(val)
40 externref.initialize(store, dst)
41 return externref
42}
43
44// ValExternref converts a go value to a externref Val
45//

Callers

nothing calls this directly

Calls 2

ValExternrefFunction · 0.85
initializeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…