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

Method ptr

linker.go:28–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func (l *Linker) ptr() *C.wasmtime_linker_t {
29 ret := l._ptr
30 if ret == nil {
31 panic("object has been closed already")
32 }
33 maybeGC()
34 return ret
35}
36
37// Close will deallocate this linker's state explicitly.
38//

Callers 13

DefineWasiMethod · 0.95
AllowShadowingMethod · 0.95
DefineMethod · 0.95
FuncNewMethod · 0.95
FuncWrapMethod · 0.95
DefineInstanceMethod · 0.95
DefineModuleMethod · 0.95
InstantiateMethod · 0.95
GetDefaultMethod · 0.95
GetMethod · 0.95

Calls 1

maybeGCFunction · 0.70

Tested by

no test coverage detected