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

Method Close

tabletype.go:63–70  ·  view source on GitHub ↗

Close will deallocate this type's state explicitly. For more information see the documentation for engine.Close()

()

Source from the content-addressed store, hash-verified

61//
62// For more information see the documentation for engine.Close()
63func (ty *TableType) Close() {
64 if ty._ptr == nil || ty._owner != nil {
65 return
66 }
67 runtime.SetFinalizer(ty, nil)
68 C.wasm_tabletype_delete(ty._ptr)
69 ty._ptr = nil
70}
71
72// Element returns the type of value stored in this table
73func (ty *TableType) Element() *ValType {

Callers 1

mkTableTypeFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected