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

Method AsExternType

tabletype.go:102–105  ·  view source on GitHub ↗

AsExternType converts this type to an instance of `ExternType`

()

Source from the content-addressed store, hash-verified

100
101// AsExternType converts this type to an instance of `ExternType`
102func (ty *TableType) AsExternType() *ExternType {
103 ptr := C.wasm_tabletype_as_externtype_const(ty.ptr())
104 return mkExternType(ptr, ty.owner())
105}

Callers 1

TestTableTypeFunction · 0.95

Calls 3

ptrMethod · 0.95
ownerMethod · 0.95
mkExternTypeFunction · 0.85

Tested by 1

TestTableTypeFunction · 0.76