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

Method Type

importtype.go:94–97  ·  view source on GitHub ↗

Type returns the type of item this import type expects

()

Source from the content-addressed store, hash-verified

92
93// Type returns the type of item this import type expects
94func (ty *ImportType) Type() *ExternType {
95 ptr := C.wasm_importtype_type(ty.ptr())
96 return mkExternType(ptr, ty.owner())
97}

Callers 1

TestImportTypeFunction · 0.95

Calls 3

ptrMethod · 0.95
ownerMethod · 0.95
mkExternTypeFunction · 0.85

Tested by 1

TestImportTypeFunction · 0.76