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

Method allow_shadowing

crates/c-api/include/wasmtime/linker.hh:35–37  ·  view source on GitHub ↗

Configures whether shadowing previous names is allowed or not. By default shadowing is not allowed.

Source from the content-addressed store, hash-verified

33 ///
34 /// By default shadowing is not allowed.
35 void allow_shadowing(bool allow) {
36 wasmtime_linker_allow_shadowing(ptr.get(), allow);
37 }
38
39 /// Defines the provided item into this linker with the given name.
40 Result<std::monostate> define(Store::Context cx, std::string_view module,

Callers 4

TESTFunction · 0.45
TESTFunction · 0.45

Calls 2

getMethod · 0.45

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36