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

Method def_sig

cranelift/reader/src/sourcemap.rs:173–175  ·  view source on GitHub ↗

Define the signature `entity`.

(&mut self, entity: SigRef, loc: Location)

Source from the content-addressed store, hash-verified

171
172 /// Define the signature `entity`.
173 pub fn def_sig(&mut self, entity: SigRef, loc: Location) -> ParseResult<()> {
174 self.def_entity(entity.into(), loc)
175 }
176
177 /// Define the external function `entity`.
178 pub fn def_fn(&mut self, entity: FuncRef, loc: Location) -> ParseResult<()> {

Callers 1

add_sigMethod · 0.80

Calls 1

def_entityMethod · 0.80

Tested by

no test coverage detected