()
| 27 | } |
| 28 | |
| 29 | func (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. |
no test coverage detected