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

Method Type

table.go:99–103  ·  view source on GitHub ↗

Type returns the underlying type of this table

(store Storelike)

Source from the content-addressed store, hash-verified

97
98// Type returns the underlying type of this table
99func (t *Table) Type(store Storelike) *TableType {
100 ptr := C.wasmtime_table_type(store.Context(), &t.val)
101 runtime.KeepAlive(store)
102 return mkTableType(ptr, nil)
103}
104
105func (t *Table) AsExtern() C.wasmtime_extern_t {
106 ret := C.wasmtime_extern_t{kind: C.WASMTIME_EXTERN_TABLE}

Callers

nothing calls this directly

Calls 2

mkTableTypeFunction · 0.85
ContextMethod · 0.65

Tested by

no test coverage detected