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

Method ptr

component_linker_feat_component_model.go:29–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func (l *ComponentLinker) ptr() *C.wasmtime_component_linker_t {
30 ret := l._ptr
31 if ret == nil {
32 panic("object has been closed already")
33 }
34 maybeGC()
35 return ret
36}
37
38// Instantiate creates a new [ComponentInstance] of `component` using the
39// imports defined in this linker.

Callers 3

InstantiateMethod · 0.95
NewComponentLinkerFunction · 0.45

Calls 1

maybeGCFunction · 0.70

Tested by

no test coverage detected