Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime-go
/ ptr
Method
ptr
extern.go:27–34 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
}
26
27
func
(e *Extern) ptr() *C.wasmtime_extern_t {
28
ret := e._ptr
29
if
ret == nil {
30
panic(
"object already closed"
)
31
}
32
maybeGC()
33
return
ret
34
}
35
36
// Close will deallocate this extern's state explicitly.
37
//
Callers
6
Type
Method · 0.95
Func
Method · 0.95
Global
Method · 0.95
Memory
Method · 0.95
Table
Method · 0.95
AsExtern
Method · 0.95
Calls
1
maybeGC
Function · 0.70
Tested by
no test coverage detected