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

Method as_mut_ptr

cranelift/filetests/src/function_runner.rs:520–522  ·  view source on GitHub ↗

Return a pointer to the underlying memory for passing to the trampoline.

(&mut self)

Source from the content-addressed store, hash-verified

518
519 /// Return a pointer to the underlying memory for passing to the trampoline.
520 pub fn as_mut_ptr(&mut self) -> *mut u128 {
521 self.0.as_mut_ptr()
522 }
523
524 /// Collect the returned [DataValue]s into a [Vec]. The size of `u128` used here must match
525 /// [Trampoline::SLOT_SIZE].

Callers 4

callMethod · 0.45
new_with_sizeMethod · 0.45
with_sizeMethod · 0.45
get_raw_mutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected