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

Method ptr

component_feat_component_model.go:64–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64func (c *Component) ptr() *C.wasmtime_component_t {
65 ret := c._ptr
66 if ret == nil {
67 panic("object has been closed already")
68 }
69 maybeGC()
70 return ret
71}
72
73// Serialize encodes this component as a sequence of bytes which can later be
74// passed to [NewComponentDeserialize] to recover the same component without

Callers 6

SerializeMethod · 0.95
GetExportIndexMethod · 0.95
TypeMethod · 0.95
NewComponentFunction · 0.45
NewComponentDeserializeFunction · 0.45

Calls 1

maybeGCFunction · 0.70

Tested by

no test coverage detected