MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / imports

Method imports

crates/c-api/include/wasmtime/module.hh:132–136  ·  view source on GitHub ↗

Returns the list of types imported by this module.

Source from the content-addressed store, hash-verified

130
131 /// Returns the list of types imported by this module.
132 ImportType::List imports() const {
133 ImportType::List list;
134 wasmtime_module_imports(ptr.get(), &list.list);
135 return list;
136 }
137
138 /// Returns the list of types exported by this module.
139 ExportType::List exports() const {

Callers 8

fill_importsFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls 2

wasmtime_module_importsFunction · 0.85
getMethod · 0.45

Tested by 3

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36