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

Method Type

exporttype.go:78–81  ·  view source on GitHub ↗

Type returns the type of item this export type expects

()

Source from the content-addressed store, hash-verified

76
77// Type returns the type of item this export type expects
78func (ty *ExportType) Type() *ExternType {
79 ptr := C.wasm_exporttype_type(ty.ptr())
80 return mkExternType(ptr, ty.owner())
81}

Callers 1

TestExportTypeFunction · 0.95

Calls 3

ptrMethod · 0.95
ownerMethod · 0.95
mkExternTypeFunction · 0.85

Tested by 1

TestExportTypeFunction · 0.76