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

Method get_ptr

pulley/src/interp.rs:481–484  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

479 }
480
481 pub fn get_ptr<T>(&self) -> *mut T {
482 let ptr = unsafe { self.0.ptr };
483 core::ptr::with_exposed_provenance_mut(usize::from_le(ptr))
484 }
485
486 pub fn set_i32(&mut self, x: i32) {
487 self.0.i32 = x.to_le();

Callers 4

call_indirectMethod · 0.80
xjumpMethod · 0.80
push_frameMethod · 0.80
call_indirect_hostMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected