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

Method ptr

engine.go:67–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65}
66
67func (engine *Engine) ptr() *C.wasm_engine_t {
68 ret := engine._ptr
69 if ret == nil {
70 panic("object has been closed already")
71 }
72 maybeGC()
73 return ret
74}
75
76// IncrementEpoch will increase the current epoch number by 1 within the
77// current engine which will cause any connected stores with their epoch

Callers 4

CloseMethod · 0.95
IncrementEpochMethod · 0.95
IsPulleyMethod · 0.95
NewEngineWithConfigFunction · 0.45

Calls 1

maybeGCFunction · 0.70

Tested by

no test coverage detected