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

Method func

crates/c-api/src/func.rs:47–52  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

45 }
46
47 pub(crate) fn func(&self) -> Func {
48 match self.ext.which {
49 Extern::Func(f) => f,
50 _ => unsafe { std::hint::unreachable_unchecked() },
51 }
52 }
53}
54
55unsafe fn create_function(

Callers 15

invoke_post_returnFunction · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45

Calls 1

unreachable_uncheckedFunction · 0.85

Tested by 15

loadMethod · 0.36
loadMethod · 0.36
loadMethod · 0.36
loadMethod · 0.36
loadMethod · 0.36
loadMethod · 0.36
loadMethod · 0.36
loadMethod · 0.36
loadMethod · 0.36
loadMethod · 0.36
loadMethod · 0.36
loadMethod · 0.36